summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/ChatgptAi.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove all not working provider (#1679)H Lohaus2024-03-121-8/+14
| | | | Fix many providers Add selenium-wire to requierments
* Update some providersHeiner Lohaus2024-02-271-1/+1
| | | | | | | Improve read access_token in OpenaiChat Add IterProvider Add system message support in FlowGpt Filter none values in new Client
* Fix ChatgptAi ProviderHeiner Lohaus2023-11-221-1/+2
|
* ~ | improve compatibilityabc2023-11-201-1/+3
|
* Update config supports_message_historyHeiner Lohaus2023-10-271-1/+2
|
* 'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow2023-10-231-7/+6
| | | Co-authored-by: Sourcery AI <>
* Fix ChatgptAi ProviderHeiner Lohaus2023-10-221-34/+38
|
* Add proxy support to all providersHeiner Lohaus2023-10-091-1/+2
|
* Add GptGod ProviderHeiner Lohaus2023-10-071-3/+2
| | | | | Remove timeout from aiohttp providers Disable Opchatgpts and ChatgptLogin provider
* Fix timeout in create_asyncHeiner Lohaus2023-10-061-2/+2
|
* Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus2023-10-051-31/+31
| | | | | | and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout
* 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-34/+50
|
* ~ | Merge pull request #876 from Lin-jun-xiang/join_messagesTekky2023-09-051-4/+2
|\ | | | | ~ | Following PEP8, use `.join()` to process `messages`
| * Join the messageshs_junxiang2023-09-041-4/+2
| | | | | | | | | | 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-2/+6
|/ | | | | | | | | | 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
* ~ | code stylingabc2023-08-271-35/+31
|
* refactor: refactor providerMIDORIBIN2023-08-141-0/+61