fix : Infinite loading issue occurs.

This commit is contained in:
hurxxxx 2025-01-29 04:42:41 +09:00
parent 857b3f0da8
commit 8e0c0b4ae3

View File

@ -115,7 +115,7 @@
let selectedToolIds = [];
let imageGenerationEnabled = false;
let webSearchEnabled = false;
let webSearchEnabled = $settings?.alwaysOnWebSearch ?? false;
let chat = null;
let tags = [];
@ -141,7 +141,7 @@
prompt = '';
files = [];
selectedToolIds = [];
webSearchEnabled = false;
imageGenerationEnabled = false;
if (chatIdProp && (await loadChat())) {
@ -717,10 +717,6 @@
webSearchEnabled = true;
}
if($settings?.alwaysOnWebSearch) {
webSearchEnabled = true;
}
if ($page.url.searchParams.get('image-generation') === 'true') {
imageGenerationEnabled = true;
}