diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-29 09:07:27 +0100 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-10-29 09:07:27 +0100 |
commit | 482e7d8946d8c087fe759c310c47131d401a0f23 (patch) | |
tree | efe0793aa85308faa32e5ec266db59e8ac0bc7d8 /g4f/Provider | |
parent | Update (g4f/gui/*) (diff) | |
download | gpt4free-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/Provider')
-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 6d8a467d..168cfe1e 100644 --- a/g4f/Provider/Blackbox.py +++ b/g4f/Provider/Blackbox.py @@ -172,7 +172,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin): proxy: Optional[str] = None, image: ImageType = None, image_name: str = None, - websearch: bool = False, + web_search: bool = False, **kwargs ) -> AsyncGenerator[Union[str, ImageResponse], None]: """ @@ -274,7 +274,7 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin): "clickedForceWebSearch": False, "visitFromDelta": False, "mobileClient": False, - "webSearchMode": websearch, + "webSearchMode": web_search, "userSelectedModel": cls.userSelectedModel.get(model, model) } |