This commit is contained in:
Timothy Jaeryang Baek committed 2026-02-23 03:22:19 -06:00
1 parent 895c805e62
commit 95bde946ba
3 files changed
+14 -7

No files matched your search

+7 -4
View File
@@ -152,11 +152,14 @@
clearChatInputStorage();
await Promise.all([
checkLocalDBChats(),
setBanners(),
setTools(),
setBanners().catch((e) => console.error('Failed to load banners:', e)),
setTools().catch((e) => console.error('Failed to load tools:', e)),
setUserSettings(async () => {
await Promise.all([setModels(), setToolServers()]);
})
await Promise.all([
setModels().catch((e) => console.error('Failed to load models:', e)),
setToolServers().catch((e) => console.error('Failed to load tool servers:', e))
]);
}).catch((e) => console.error('Failed to load user settings:', e))
]);
// Helper function to check if the pressed keys match the shortcut definition