summaryrefslogtreecommitdiffstats
path: root/g4f/gui/server
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-29 09:07:27 +0100
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-29 09:07:27 +0100
commit482e7d8946d8c087fe759c310c47131d401a0f23 (patch)
treeefe0793aa85308faa32e5ec266db59e8ac0bc7d8 /g4f/gui/server
parentUpdate (g4f/gui/*) (diff)
downloadgpt4free-482e7d8946d8c087fe759c310c47131d401a0f23.tar
gpt4free-482e7d8946d8c087fe759c310c47131d401a0f23.tar.gz
gpt4free-482e7d8946d8c087fe759c310c47131d401a0f23.tar.bz2
gpt4free-482e7d8946d8c087fe759c310c47131d401a0f23.tar.lz
gpt4free-482e7d8946d8c087fe759c310c47131d401a0f23.tar.xz
gpt4free-482e7d8946d8c087fe759c310c47131d401a0f23.tar.zst
gpt4free-482e7d8946d8c087fe759c310c47131d401a0f23.zip
Diffstat (limited to 'g4f/gui/server')
-rw-r--r--g4f/gui/server/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/gui/server/api.py b/g4f/gui/server/api.py
index 51cf3d32..92700611 100644
--- a/g4f/gui/server/api.py
+++ b/g4f/gui/server/api.py
@@ -115,7 +115,7 @@ class Api:
if api_key is not None:
kwargs["api_key"] = api_key
if json_data.get('web_search'):
- if provider in ("Bing", "HuggingChat"):
+ if provider in ("Bing", "HuggingChat", "Blackbox"):
kwargs['web_search'] = True
else:
from .internet import get_search_message