diff --git a/src/components/xt-chat/chat-view/constants.ts b/src/components/xt-chat/chat-view/constants.ts index b9f6fc9..39d154f 100644 --- a/src/components/xt-chat/chat-view/constants.ts +++ b/src/components/xt-chat/chat-view/constants.ts @@ -14,12 +14,12 @@ export interface UseChatHandlerReturn { senderRef?: Ref } export enum EnumTeamRunStatus { - TeamRunStarted = 'TeamRunStarted', // 对话开始 + TeamRunStarted = 'TaskRunStarted', // 对话开始 TeamRunResponseContent = 'TeamRunResponseContent', // 对话执行中 - TeamRunCompleted = 'TeamRunCompleted', // 对话完成 - RunStarted = 'RunStarted', // l2开始运行 - RunResponseContent = 'RunResponseContent', // l2执行中 - RunCompleted = 'RunCompleted', // l2完成 + TeamRunCompleted = 'TaskRunCompleted', // 对话完成 + RunStarted = 'L2Started', // l2开始运行 + RunResponseContent = 'L2RunContent', // l2执行中 + RunCompleted = 'L2Completed', // l2完成 } export interface UseChatHandlerOptions { initSse: (inputInfo: CHAT.TInputInfo) => Promise; // 明确 initSse 带参 @@ -54,4 +54,4 @@ export const FILE_TYPE_MAP = { [FILE_TYPE.topic_only]: '排期&选题', [FILE_TYPE.topic_with_content]: '选题&内容稿件', [FILE_TYPE.content_only]: '内容稿件', -} \ No newline at end of file +}