summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Bing.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-09-05Fix imports in BingHeiner Lohaus1-16/+7
2023-09-05Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat ProviderHeiner Lohaus1-17/+6
2023-09-04Join the messageshs_junxiang1-4/+1
A better approach is to use the `.join()` method of strings, which reduces string concatenation operations and improves performance. Additionally, using formatted strings (f-strings) makes the code cleaner and more readable.
2023-09-03type hintsmsi-JunXiang1-3/+11
Use `from __future__ import annotations avoid `dict` and `list` cause "TypeErro: 'type' object is not subscriptable". Refer to the following Stack Overflow discussions for more information: 1. https://stackoverflow.com/questions/75202610/typeerror-type-object-is-not-subscriptable-python 2. https://stackoverflow.com/questions/59101121/type-hint-for-a-dict-gives-typeerror-type-object-is-not-subscriptable
2023-09-01Set working=True in Liaobots, Fix bing provider, Update readmeHeiner Lohaus1-19/+2
2023-08-28~ | v-0.0.2.6abc1-25/+25
2023-08-28Update Bing.pyLuneye1-7/+7
Fixed some errors in my previously precipitated commit.
2023-08-28Update Bing.pyLuneye1-53/+45
Added support the async function Will implement proper cookie retrieval later but Bing is working for now
2023-08-28Add async support for H2oHeiner Lohaus1-14/+6
Add format_prompt helper Fix create_completion in AsyncGeneratorProvider Move get_cookies from constructor to function Add ow HuggingChat implement Remove need auth form Liabots Add staic cache for access_token in OpenaiChat Add OpenAssistant provider Support stream and async in You Support async and add userId in Yqcloud Add log_time module
2023-08-27Update Bing.py Luneye1-46/+76
Removed unnecessary check that could prematurely stop the AI's response while answering
2023-08-27~ | code stylingabc1-17/+10
2023-08-25Add OpenaiChat and Hugchat ProviderHeiner Lohaus1-58/+28
Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function
2023-08-23Add create_async methodHeiner Lohaus1-19/+39
2023-08-21Fix bing providerHeiner Lohaus1-261/+203
2023-08-17~ | major refractoring | v0.0.2.0abc1-3/+3
2023-08-14refactor: refactor providerMIDORIBIN1-0/+362