mirror of
https://github.com/open-webui/open-webui
synced 2025-02-25 06:44:07 +00:00
fix : Infinite loading issue occurs.
This commit is contained in:
parent
857b3f0da8
commit
8e0c0b4ae3
@ -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())) {
|
||||
@ -716,11 +716,7 @@
|
||||
if ($page.url.searchParams.get('web-search') === 'true') {
|
||||
webSearchEnabled = true;
|
||||
}
|
||||
|
||||
if($settings?.alwaysOnWebSearch) {
|
||||
webSearchEnabled = true;
|
||||
}
|
||||
|
||||
|
||||
if ($page.url.searchParams.get('image-generation') === 'true') {
|
||||
imageGenerationEnabled = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user