Add files via upload

This commit is contained in:
公明 authored and GitHub committed 2026-05-23 19:49:50 +08:00
1 parent a454cada6a
commit 9276f2f144
1 file changed
+7
+7
View File
@@ -282,6 +282,13 @@ async function submitLogin(event) {
}
async function refreshAppData(showTaskErrors = false) {
if (typeof initChatAgentModeFromConfig === 'function') {
try {
await initChatAgentModeFromConfig();
} catch (error) {
console.warn('刷新对话模式配置失败:', error);
}
}
await Promise.allSettled([
loadConversations(),
loadActiveTasks(showTaskErrors),