diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-17 12:13:29 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-17 12:13:29 +0200 |
commit | da4b0831d9e3e941fa9e944519eb5e2bdd95bd1b (patch) | |
tree | 7ade3301cd8dedc83914b73b92c2d0e6fbdac1c3 /g4f | |
parent | Added new provider (g4f/Provider/Editee.py) (diff) | |
download | gpt4free-da4b0831d9e3e941fa9e944519eb5e2bdd95bd1b.tar gpt4free-da4b0831d9e3e941fa9e944519eb5e2bdd95bd1b.tar.gz gpt4free-da4b0831d9e3e941fa9e944519eb5e2bdd95bd1b.tar.bz2 gpt4free-da4b0831d9e3e941fa9e944519eb5e2bdd95bd1b.tar.lz gpt4free-da4b0831d9e3e941fa9e944519eb5e2bdd95bd1b.tar.xz gpt4free-da4b0831d9e3e941fa9e944519eb5e2bdd95bd1b.tar.zst gpt4free-da4b0831d9e3e941fa9e944519eb5e2bdd95bd1b.zip |
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/Provider/Blackbox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/Blackbox.py b/g4f/Provider/Blackbox.py index 886bc2fa..6c45a628 100644 --- a/g4f/Provider/Blackbox.py +++ b/g4f/Provider/Blackbox.py @@ -171,7 +171,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin): model: str, messages: Messages, proxy: Optional[str] = None, - web_search_mode: bool = False, + websearch: bool = False, **kwargs ) -> AsyncGenerator[Union[str, ImageResponse], None]: """ @@ -261,7 +261,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin): "clickedForceWebSearch": False, "visitFromDelta": False, "mobileClient": False, - "webSearchMode": web_search_mode, + "webSearchMode": websearch, "userSelectedModel": cls.userSelectedModel.get(model, model) } |