summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/ChatgptAi.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-10-22Fix ChatgptAi ProviderHeiner Lohaus1-34/+38
2023-10-09Add proxy support to all providersHeiner Lohaus1-1/+2
2023-10-07Add GptGod ProviderHeiner Lohaus1-3/+2
Remove timeout from aiohttp providers Disable Opchatgpts and ChatgptLogin provider
2023-10-06Fix timeout in create_asyncHeiner Lohaus1-2/+2
2023-10-05Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus1-31/+31
and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout
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-34/+50
2023-09-04Join the messageshs_junxiang1-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.
2023-09-03type hintsmsi-JunXiang1-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
2023-08-27~ | code stylingabc1-35/+31
2023-08-14refactor: refactor providerMIDORIBIN1-0/+61