Add files via upload

This commit is contained in:
公明
2025-12-25 20:26:33 +08:00
committed by GitHub
parent 723372e8ea
commit bc388ab0ee
3 changed files with 142 additions and 17 deletions
+6 -1
View File
@@ -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;