mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-18 16:27:13 +00:00
Integrate Chat and Copilot into chat-sdk, and add SQL parse display (#166)
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
import './styles/index.less';
|
||||
|
||||
// import React from 'react';
|
||||
// import ReactDOM from 'react-dom/client';
|
||||
// import Chat from './demo/Chat';
|
||||
|
||||
// import ChatDemo from './demo/ChatDemo';
|
||||
// import CopilotDemo from './demo/CopilotDemo';
|
||||
// const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
|
||||
// root.render(<ChatDemo />);
|
||||
|
||||
// root.render(
|
||||
// <React.StrictMode>
|
||||
// <Chat />
|
||||
// </React.StrictMode>
|
||||
// );
|
||||
export { default as Chat } from './Chat';
|
||||
|
||||
export { default as Copilot } from './Copilot';
|
||||
|
||||
export { default as ChatMsg } from './components/ChatMsg';
|
||||
|
||||
@@ -33,6 +32,7 @@ export type {
|
||||
FilterItemType,
|
||||
HistoryType,
|
||||
HistoryMsgItemType,
|
||||
SendMsgParamsType,
|
||||
} from './common/type';
|
||||
|
||||
export { getHistoryMsg, searchRecommend, queryContext } from './service';
|
||||
|
||||
Reference in New Issue
Block a user