summaryrefslogtreecommitdiffstats
path: root/g4f/api/__init__.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add FlowGpt provider, Fix issue with None values in apiHeiner Lohaus2024-02-241-3/+2
|
* Set default values for generation configHeiner Lohaus2024-02-231-5/+5
| | | | Set a list of providers
* Add GeminiPro API providerHeiner Lohaus2024-02-231-4/+9
| | | | | Set min version for undetected-chromedriver Add api_key to the new client
* Fix unittests, use Union typingHeiner Lohaus2024-02-231-5/+5
|
* Use new client in inter apiHeiner Lohaus2024-02-231-136/+63
|
* Basic support for the temperature parameternullstreak2024-02-141-0/+2
|
* Add support for all modelsHeiner Lohaus2024-01-011-19/+31
| | | | | | | | | Add AbstractProvider class Add ProviderType type Add get_last_provider function Add version module and VersionUtils Display used provider in gui Fix error response in api
* Fix api and None providerHeiner Lohaus2023-12-231-20/+12
|
* Add providers in apialvarosoares01@gmail.com2023-12-141-0/+6
|
* Added new provider PI (Hacky way to use) (#1291)madonchik1232023-12-011-9/+21
| | | | | | | | | * Added new provider PI (Hacky way to use) * Updated models endpoint made it show real info about the model.py * Added cloudscraper to the requirements * Fixed some bugs aka made streaming also return role
* ~ | improve compatibility with lower python versionsabc2023-11-191-6/+6
| | | | remove tiktoken
* Fixed tupo in list_ignored_providers parameter.razrab2023-11-161-1/+1
|
* Update __init__.pyKacper Kwapisz2023-11-141-1/+1
| | | fixed the line where it checks if stream is requested. I made the change because before it ignored what the user typed because there was a invalid conversion from the boolean to string where the if stream clause would always be true. Simple workaround :)
* Added back list_ignored_providers parameter to ChatCompletion.create method in api.razrab2023-11-131-1/+5
|
* Refactor item_data update to handle byte keys and convert messages to dict.razrab2023-11-131-2/+11
|
* fix: api streaming TypeError: Object of type generator is not JSON serializableGiancarlo-Ma2023-11-071-1/+2
|
* Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
|
* Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
|
* Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
|
* Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
|
* Update __init__.pyThatLukinhasGuy2023-11-041-1/+1
|
* Update __init__.pyThatLukinhasGuy2023-11-041-143/+138
|
* Update __init__.pyThatLukinhasGuy2023-11-041-2/+2
|
* Update __init__.pyThatLukinhasGuy2023-11-021-1/+1
|
* Update __init__.pyThatLukinhasGuy2023-11-021-1/+0
|
* Update __init__.pyThatLukinhasGuy2023-11-021-200/+141
|
* add api proxycatmeowjiao2023-10-271-3/+19
|
* Merge branch 'main' into api-ignore-providersAndPim49122023-10-231-10/+7
|\
| * Debug config in apiHeiner Lohaus2023-10-231-1/+1
| |
| * 'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow2023-10-231-6/+6
| | | | | | Co-authored-by: Sourcery AI <>
* | Refactor API initialization to accept a list of ignored providers.razrab2023-10-231-3/+11
|/
* ~abc2023-10-201-1/+1
| | | | minor changes
* ~ | quick fixabc2023-10-201-1/+1
|
* ~ | updated g4f.apiabc2023-10-201-151/+195
| | | | new api and requirements
* ~abc2023-10-121-63/+63
|
* Unify g4f tools into one CLIArran Hobson Sayers2023-10-121-0/+162