Timothy Jaeryang Baek 4 weeks ago
parent
commit
a6f25b99f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/components/chat/Chat.svelte

+ 1 - 1
src/lib/components/chat/Chat.svelte

@@ -1667,7 +1667,7 @@
 				(model) => $models.find((m) => m.id === model)?.info?.meta?.capabilities?.web_search ?? true
 			).length === currentModels.length
 		) {
-			if (($settings?.webSearch ?? false) === 'always') {
+			if ($config?.features?.enable_web_search && ($settings?.webSearch ?? false) === 'always') {
 				features = { ...features, web_search: true };
 			}
 		}