summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/OpenaiChat.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Sort providers in new dirsHeiner Lohaus2023-10-041-124/+0
|
* Use custom user dirHeiner Lohaus2023-10-041-8/+11
|
* Fix fetch_access_token in openaiHeiner Lohaus2023-10-031-10/+16
|
* Add streaming in openai chatHeiner Lohaus2023-10-031-23/+50
| | | | Fetch access token with chromedriver
* Add Myshell ProviderHeiner Lohaus2023-09-251-13/+7
| | | | Remove auto proxy prefix
* Revert "Fix type hint"Tekky2023-09-171-1/+1
|
* fix typo: provider -> ProviderMIDORIBIN2023-09-161-1/+1
|
* Add CodeLinkAva Provider, Improve test_async.pyHeiner Lohaus2023-09-091-1/+1
|
* 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-48/+56
|
* type hintsmsi-JunXiang2023-09-031-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
* Add async support for H2oHeiner Lohaus2023-08-281-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
* ~ | code stylingabc2023-08-271-8/+9
|
* Add OpenaiChat and Hugchat ProviderHeiner Lohaus2023-08-251-0/+74
Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function