查假期交互调整
This commit is contained in:
1 parent
2736224ed7
commit
fec2fc096e
8 files changed
+1076
-28
No files matched your search
@@ -22,9 +22,14 @@ interface ChatMessage {
|
||||
// 对话消息结构:用户/助手文本 + 可选的来源与归因信息
|
||||
role: 'user' | 'assistant';
|
||||
content: string;
|
||||
type?: 'text' | 'leave-form' | 'leave-confirmation' | 'leave-result';
|
||||
retriever_resources?: RetrieverResource[];
|
||||
attribution_parts?: string[];
|
||||
chat_log_id?: number;
|
||||
payload?: any;
|
||||
local_id?: string;
|
||||
local_only?: boolean;
|
||||
rated?: boolean;
|
||||
}
|
||||
|
||||
// 统一资源格式为数组,兼容 list 或 { data: list } 两种结构
|
||||
|
||||
Reference in new issue
Block a user