summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/AItianhu.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-18Add AiChatOnline, ChatgptDemoAi, ChatgptNext ProvidersHeiner Lohaus1-2/+1
Add OnlineGpt and TalkAi Provider Add get_random_string and get_random_hex helper Remove funcaptcha package
2023-10-23'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow1-18/+18
Co-authored-by: Sourcery AI <>
2023-10-21~ | g4f `v-0.1.7.2`abc1-4/+3
patch / unpatch providers
2023-10-16~ | remove non-working providersabc1-17/+34
2023-10-09Add proxy support to all providersHeiner Lohaus1-4/+4
2023-10-05Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus1-3/+14
and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout
2023-10-04Sort providers in new dirsHeiner Lohaus1-0/+2
2023-10-02Fix: There is no current event loop in threadHeiner Lohaus1-11/+25
2023-09-18Add GptGo Provider, Fix AItianhu ProviderHeiner Lohaus1-41/+18
2023-09-17Revert "Fix type hint"Tekky1-1/+1
2023-09-16fix typo: provider -> ProviderMIDORIBIN1-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-28/+48
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-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
2023-08-27~ | code stylingabc1-3/+2
2023-08-24Improve provider listHeiner Lohaus1-1/+1
2023-08-14refactor: refactor providerMIDORIBIN1-0/+54