summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/Yqcloud.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-6/+9
|
* type hintsmsi-JunXiang2023-09-031-0/+2
| | | | | | | | | | 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
* Add async support for H2oHeiner Lohaus2023-08-281-29/+23
| | | | | | | | | | | | | 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/+18
|
* fix Yqcloud's prompter using only the last messagezengrr2023-08-231-1/+4
|
* Update Yqcloud.pyMaxKUlish12023-08-171-0/+1
| | | # specify the correct encoding forcibly
* Update Yqcloud.pyMaxKUlish12023-08-171-1/+0
|
* Update Yqcloud.pyMaxKUlish12023-08-171-0/+1
| | | # specify the correct encoding forcibly
* refactor: refactor providerMIDORIBIN2023-08-141-0/+44