Merge pull request 'refactor(xt-chat): 修改枚举值和接口名称' (#42) from feature/0909_主agent优化 into test
Reviewed-on: ai-team/lingji-work-fe#42
This commit is contained in:
@ -14,12 +14,12 @@ export interface UseChatHandlerReturn {
|
|||||||
senderRef?: Ref<null>
|
senderRef?: Ref<null>
|
||||||
}
|
}
|
||||||
export enum EnumTeamRunStatus {
|
export enum EnumTeamRunStatus {
|
||||||
TeamRunStarted = 'TeamRunStarted', // 对话开始
|
TeamRunStarted = 'TaskRunStarted', // 对话开始
|
||||||
TeamRunResponseContent = 'TeamRunResponseContent', // 对话执行中
|
TeamRunResponseContent = 'TeamRunResponseContent', // 对话执行中
|
||||||
TeamRunCompleted = 'TeamRunCompleted', // 对话完成
|
TeamRunCompleted = 'TaskRunCompleted', // 对话完成
|
||||||
RunStarted = 'RunStarted', // l2开始运行
|
RunStarted = 'L2Started', // l2开始运行
|
||||||
RunResponseContent = 'RunResponseContent', // l2执行中
|
RunResponseContent = 'L2RunContent', // l2执行中
|
||||||
RunCompleted = 'RunCompleted', // l2完成
|
RunCompleted = 'L2Completed', // l2完成
|
||||||
}
|
}
|
||||||
export interface UseChatHandlerOptions {
|
export interface UseChatHandlerOptions {
|
||||||
initSse: (inputInfo: CHAT.TInputInfo) => Promise<void>; // 明确 initSse 带参
|
initSse: (inputInfo: CHAT.TInputInfo) => Promise<void>; // 明确 initSse 带参
|
||||||
@ -54,4 +54,4 @@ export const FILE_TYPE_MAP = {
|
|||||||
[FILE_TYPE.topic_only]: '排期&选题',
|
[FILE_TYPE.topic_only]: '排期&选题',
|
||||||
[FILE_TYPE.topic_with_content]: '选题&内容稿件',
|
[FILE_TYPE.topic_with_content]: '选题&内容稿件',
|
||||||
[FILE_TYPE.content_only]: '内容稿件',
|
[FILE_TYPE.content_only]: '内容稿件',
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user