summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/OpenaiChat.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-09-17Revert "Fix type hint"Tekky1-1/+1
2023-09-16fix typo: provider -> ProviderMIDORIBIN1-1/+1
2023-09-09Add CodeLinkAva Provider, Improve test_async.pyHeiner Lohaus1-1/+1
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-48/+56
2023-09-03type hintsmsi-JunXiang1-3/+7
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-08-28Add async support for H2oHeiner Lohaus1-17/+24
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-27~ | code stylingabc1-8/+9
2023-08-25Add OpenaiChat and Hugchat ProviderHeiner Lohaus1-0/+74
Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function