Merge branch 'main' into update_qr_code

This commit is contained in:
Wendong-Fan 2025-11-21 18:28:15 +08:00 committed by GitHub
commit e0e95f4aeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -534,7 +534,7 @@ const chatStore = (initial?: Partial<ChatStore>) => createStore<ChatStore>()(
api_key: apiModel.api_key,
api_url: apiModel.api_url,
extra_params: apiModel.extra_params,
installed_mcp: [],
installed_mcp: { mcpServers: {} },
language: systemLanguage,
allow_local_system: true,
attaches: (messageAttaches || targetChatStore.getState().tasks[newTaskId]?.attaches || []).map(f => f.filePath),