add aiChat
This commit is contained in:
+42
-2
@@ -10,6 +10,12 @@ import NotifyEditor from "./notify-editor";
|
||||
import NotifyView from "./notify-view";
|
||||
import BottomPopup from "./bottom-popup";
|
||||
import Space from "./space";
|
||||
import {
|
||||
AiChatComposer,
|
||||
AiChatMessageList,
|
||||
AiChatPanel,
|
||||
AiChatThinking
|
||||
} from "./ai";
|
||||
|
||||
export default [
|
||||
RootLayout,
|
||||
@@ -22,7 +28,11 @@ export default [
|
||||
NotifyEditor,
|
||||
NotifyView,
|
||||
BottomPopup,
|
||||
Space
|
||||
Space,
|
||||
AiChatComposer,
|
||||
AiChatMessageList,
|
||||
AiChatPanel,
|
||||
AiChatThinking
|
||||
];
|
||||
|
||||
export {
|
||||
@@ -36,9 +46,39 @@ export {
|
||||
NotifyEditor,
|
||||
NotifyView,
|
||||
BottomPopup,
|
||||
Space
|
||||
Space,
|
||||
AiChatComposer,
|
||||
AiChatMessageList,
|
||||
AiChatPanel,
|
||||
AiChatThinking
|
||||
};
|
||||
|
||||
export {
|
||||
AiChatHttpError,
|
||||
AiChatStreamError,
|
||||
ensureChatResponse,
|
||||
parseAssistantResponse,
|
||||
parseSseData,
|
||||
readSseStream,
|
||||
useAiChat
|
||||
} from "./ai";
|
||||
|
||||
export type {
|
||||
AiChatCitationFormatter,
|
||||
AiChatErrorMessages,
|
||||
AiChatEventAction,
|
||||
AiChatMessage,
|
||||
AiChatMessageStatusFormatter,
|
||||
AiChatRequestContext,
|
||||
AiChatRoleNameFormatter,
|
||||
AiChatRoleNames,
|
||||
AiChatStreamEvent,
|
||||
AiCitation,
|
||||
AiMessageRole,
|
||||
AiThinking,
|
||||
UseAiChatOptions
|
||||
} from "./ai";
|
||||
|
||||
export type {
|
||||
SpaceAlign,
|
||||
SpaceDirection,
|
||||
|
||||
Reference in New Issue
Block a user