summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/AItianhu.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ~ |abc2023-11-201-4/+3
| | | | trying to improve compability with python versions < 3.8
* Add AiChatOnline, ChatgptDemoAi, ChatgptNext ProvidersHeiner Lohaus2023-11-181-2/+1
| | | | | | Add OnlineGpt and TalkAi Provider Add get_random_string and get_random_hex helper Remove funcaptcha package
* 'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow2023-10-231-18/+18
| | | Co-authored-by: Sourcery AI <>
* ~ | g4f `v-0.1.7.2`abc2023-10-211-4/+3
| | | | patch / unpatch providers
* ~ | remove non-working providersabc2023-10-161-17/+34
|
* Add proxy support to all providersHeiner Lohaus2023-10-091-4/+4
|
* Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus2023-10-051-3/+14
| | | | | | and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout
* Sort providers in new dirsHeiner Lohaus2023-10-041-0/+2
|
* Fix: There is no current event loop in threadHeiner Lohaus2023-10-021-11/+25
|
* Add GptGo Provider, Fix AItianhu ProviderHeiner Lohaus2023-09-181-41/+18
|
* Revert "Fix type hint"Tekky2023-09-171-1/+1
|
* fix typo: provider -> ProviderMIDORIBIN2023-09-161-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-28/+48
|
* ~ | 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-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
* ~ | code stylingabc2023-08-271-3/+2
|
* Improve provider listHeiner Lohaus2023-08-241-1/+1
|
* refactor: refactor providerMIDORIBIN2023-08-141-0/+54