bug修复

This commit is contained in:
2025-10-26 23:26:30 +08:00
parent 85e910fac9
commit df818578e5
20 changed files with 2008 additions and 98 deletions
+1
View File
@@ -22,6 +22,7 @@ export interface ChatMessage {
isRead?: number
error?: string
role?: 'user' | 'assistant' | 'system' // 用于UI显示
messageOrder?: number // 消息顺序 - 在同一个会话中递增,用于确保消息展示顺序
}
// 聊天会话类型 - 与后端ConversationResponse匹配