add aiChat
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import { WebToolkit } from "timi-web";
|
||||
import AiChatComposerView from "./AiChatComposer.vue";
|
||||
import AiChatMessageListView from "./AiChatMessageList.vue";
|
||||
import AiChatPanelView from "./AiChatPanel.vue";
|
||||
import AiChatThinkingView from "./AiChatThinking.vue";
|
||||
|
||||
export const AiChatComposer = WebToolkit.withInstall(AiChatComposerView);
|
||||
export const AiChatMessageList = WebToolkit.withInstall(AiChatMessageListView);
|
||||
export const AiChatPanel = WebToolkit.withInstall(AiChatPanelView);
|
||||
export const AiChatThinking = WebToolkit.withInstall(AiChatThinkingView);
|
||||
|
||||
export default AiChatPanel;
|
||||
|
||||
export { useAiChat, AiChatHttpError, AiChatStreamError, ensureChatResponse, parseSseData, readSseStream } from "./useAiChat";
|
||||
export { parseAssistantResponse } from "./useAiChat";
|
||||
|
||||
export type {
|
||||
AiChatCitationFormatter,
|
||||
AiChatErrorMessages,
|
||||
AiChatEventAction,
|
||||
AiChatMessage,
|
||||
AiChatMessageStatusFormatter,
|
||||
AiChatRequestContext,
|
||||
AiChatRoleNameFormatter,
|
||||
AiChatRoleNames,
|
||||
AiChatStreamEvent,
|
||||
AiCitation,
|
||||
AiMessageRole,
|
||||
AiThinking,
|
||||
UseAiChatOptions
|
||||
} from "./types";
|
||||
Reference in New Issue
Block a user