From da4b0831d9e3e941fa9e944519eb5e2bdd95bd1b Mon Sep 17 00:00:00 2001 From: kqlio67 Date: Thu, 17 Oct 2024 13:13:29 +0300 Subject: Update (g4f/Provider/Blackbox.py) --- g4f/Provider/Blackbox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'g4f/Provider') 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) } -- cgit v1.2.3