summaryrefslogtreecommitdiffstats
path: root/g4f/__init__.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ~ | v-0.1.3.7abc2023-09-261-1/+1
|
* ~ | add version (`g4f.version`)abc2023-09-261-1/+1
|
* Add ChatgptDuo and Aibn ProviderHeiner Lohaus2023-09-261-5/+0
| | | | | | Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider
* TypeError: issubclass() arg 1 must be a classHeiner Lohaus2023-09-231-1/+2
|
* ~ | improve Vercel & g4f.Completion.createabc2023-09-231-0/+27
| | | | | | | | | | | added `.Completion.create` class. ```py response = g4f.Completion.create( model='text-davinci-003', prompt="Hello") print(response) ```
* Improve Vercel Provider:Heiner Lohaus2023-09-231-1/+1
| | | | | | | - Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider
* Add RetryProviderHeiner Lohaus2023-09-211-8/+2
|
* Add check_running_loop requirementHeiner Lohaus2023-09-201-29/+51
| | | | | Add create_async function in ChatCompletion Use SelectorEventLoop on windows
* Check supports_stream in best_providers listHeiner Lohaus2023-09-181-3/+6
|
* ~abc2023-09-171-2/+1
|
* Merge branch 'main' of https://github.com/xtekky/gpt4freeabc2023-09-171-1/+2
|\
| * Revert "Fix type hint"Tekky2023-09-171-2/+2
| |
* | Update __init__.pyabc2023-09-171-2/+1
|/
* fix type hintMIDORIBIN2023-09-161-2/+2
|
* Disable not working providers:Heiner Lohaus2023-09-121-2/+11
| | | | | | EasyChat, Equing, GetGpt, Liaobots and Wuguokai No and random best provider for a model Update providers in Readme
* type hintsmsi-JunXiang2023-09-031-0/+1
| | | | | | | | | | 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-20/+17
|
* ~ | major refractoring | v0.0.2.0abc2023-08-171-6/+6
|
* refactor: refactor providerMIDORIBIN2023-08-141-37/+40
|
* ~ | small fixes & new pypi version | v-0.0.1.90.0.1.90.0.1.0abc2023-08-141-1/+1
|
* small fixes & new pypi versionabc2023-08-141-1/+1
|
* refactor: refactor modelsMIDORIBIN2023-07-251-3/+3
|
* minor fixesabc2023-07-161-1/+4
|
* gpt4free v2, first releasev2t.me/xtekky2023-06-241-0/+39