Update Bing.py

This commit is contained in:
H Lohaus 2024-04-12 21:16:26 +02:00 committed by GitHub
parent fa739d2e7c
commit ddb015e90d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@ class Bing(AsyncGeneratorProvider, ProviderModelMixin):
gpt4_turbo = True if model.startswith("gpt-4-turbo") else False gpt4_turbo = True if model.startswith("gpt-4-turbo") else False
return stream_generate( return stream_generate(
prompt, tone, image, context, api_key, cookies, prompt, tone, image, context, cookies, api_key,
get_connector(connector, proxy, True), get_connector(connector, proxy, True),
proxy, web_search, gpt4_turbo, timeout, proxy, web_search, gpt4_turbo, timeout,
**kwargs **kwargs