mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-08-25 20:33:10 +02:00
Add files via upload
This commit is contained in:
@@ -282,6 +282,13 @@ async function submitLogin(event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function refreshAppData(showTaskErrors = false) {
|
async function refreshAppData(showTaskErrors = false) {
|
||||||
|
if (typeof initChatAgentModeFromConfig === 'function') {
|
||||||
|
try {
|
||||||
|
await initChatAgentModeFromConfig();
|
||||||
|
} catch (error) {
|
||||||
|
console.warn('刷新对话模式配置失败:', error);
|
||||||
|
}
|
||||||
|
}
|
||||||
await Promise.allSettled([
|
await Promise.allSettled([
|
||||||
loadConversations(),
|
loadConversations(),
|
||||||
loadActiveTasks(showTaskErrors),
|
loadActiveTasks(showTaskErrors),
|
||||||
|
|||||||
Reference in New Issue
Block a user