summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Bing.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat ProviderHeiner Lohaus2023-09-051-17/+6
|
* ~ | Merge pull request #876 from Lin-jun-xiang/join_messagesTekky2023-09-051-4/+1
|\ | | | | ~ | Following PEP8, use `.join()` to process `messages`
| * Join the messageshs_junxiang2023-09-041-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.
* | type hintsmsi-JunXiang2023-09-031-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
* Set working=True in Liaobots, Fix bing provider, Update readmeHeiner Lohaus2023-09-011-19/+2
|
* ~ | v-0.0.2.6abc2023-08-281-25/+25
|
* Merge branch 'main' into huggingTekky2023-08-281-28/+64
|\
| * Merge branch 'main' into patch-1Luneye2023-08-281-19/+14
| |\
| * | Update Bing.pyLuneye2023-08-281-7/+7
| | | | | | | | | Fixed some errors in my previously precipitated commit.
| * | Update Bing.pyLuneye2023-08-281-53/+45
| | | | | | | | | | | | | | | Added support the async function Will implement proper cookie retrieval later but Bing is working for now
| * | Update Bing.py Luneye2023-08-271-46/+76
| | | | | | | | | Removed unnecessary check that could prematurely stop the AI's response while answering
* | | Add async support for H2oHeiner Lohaus2023-08-281-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
* | ~ | code stylingabc2023-08-271-17/+10
|/
* Add OpenaiChat and Hugchat ProviderHeiner Lohaus2023-08-251-58/+28
| | | | | | Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function
* Add create_async methodHeiner Lohaus2023-08-231-19/+39
|
* Fix bing providerHeiner Lohaus2023-08-211-261/+203
|
* ~ | major refractoring | v0.0.2.0abc2023-08-171-3/+3
|
* refactor: refactor providerMIDORIBIN2023-08-141-0/+362