mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-07-06 04:27:55 +02:00
Add files via upload
This commit is contained in:
@@ -450,8 +450,13 @@ function handleStreamEvent(event, progressElement, progressId,
|
||||
loadActiveTasks();
|
||||
// 延迟刷新对话列表,确保用户消息已保存,updated_at已更新
|
||||
// 这样新对话才能正确显示在最近对话列表的顶部
|
||||
// 使用loadConversationsWithGroups确保分组映射缓存正确加载,无论是否有分组都能立即显示
|
||||
setTimeout(() => {
|
||||
loadConversations();
|
||||
if (typeof loadConversationsWithGroups === 'function') {
|
||||
loadConversationsWithGroups();
|
||||
} else if (typeof loadConversations === 'function') {
|
||||
loadConversations();
|
||||
}
|
||||
}, 200);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user