summaryrefslogtreecommitdiffstats
path: root/g4f/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve compatibility of openai-node (#1966)碧舞すみほ2024-05-171-1/+4
| | | | | | | * improve compatibility of openai-node * improve compatibility with OpenAI's models api * allow image upload
* Update __init__.pyH Lohaus2024-05-061-1/+1
|
* Update __init__.pyH Lohaus2024-05-061-1/+6
|
* Update __init__.py0.3.0.10H Lohaus2024-05-061-10/+3
|
* Add Ollama provider, Add vision support to OpenaiHeiner Lohaus2024-05-051-1/+1
|
* Add AppConfig class, update readmeHeiner Lohaus2024-04-291-19/+27
|
* Fix workers argument in apiHeiner Lohaus2024-04-291-24/+33
|
* clean codekafm2024-04-281-13/+5
|
* add authorization for g4f APIkafm2024-04-281-5/+41
|
* Add Replicate ProviderHeiner Lohaus2024-04-211-20/+26
| | | | | | Fix Bug in OpenaiChat and MetaAI Add read cookie and .har files Use factory for api app
* Disable Bing integration testHeiner Lohaus2024-04-201-1/+1
|
* Add workers and use_colors options to apiHeiner Lohaus2024-04-202-37/+40
|
* Add Ecosia Provider, Add OpenaiAccount aliasHeiner Lohaus2024-04-181-15/+14
| | | | | Use AsyncClient in API, add web_search parameter in API Improve error messages in Openai
* Add OpenRouter and DeepInfraImage Provider (#1814)0.2.9.2H Lohaus2024-04-101-1/+1
|
* Add local models to gui, Fix You Provider, add AsyncClientHeiner Lohaus2024-04-071-3/+25
|
* Fix TypeError: 'Api' object is not callableRamon Victor Cardoso2024-03-081-3/+3
|
* Ignore empty auth header in apiHeiner Lohaus2024-02-291-1/+3
| | | | Add live token count in gui
* 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
|
* Fix module 'g4f.debug' has no attribute 'get_version'Ramon Victor Cardoso2024-01-041-1/+1
|
* 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 run moduleHeiner Lohaus2023-12-231-1/+1
|
* 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-012-10/+22
| | | | | | | | | * 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-192-13/+13
| | | | 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 run.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 run.pyThatLukinhasGuy2023-11-041-1/+1
|
* Update __init__.pyThatLukinhasGuy2023-11-041-143/+138
|
* Update run.pyThatLukinhasGuy2023-11-041-1/+1
|
* Update __init__.pyThatLukinhasGuy2023-11-041-2/+2
|
* Update __init__.pyThatLukinhasGuy2023-11-021-1/+1
|
* Update __init__.pyThatLukinhasGuy2023-11-021-1/+0
|
* Update run.pyThatLukinhasGuy2023-11-021-1/+1
|
* 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
|/
* fix bug - Cannot assign requested addresslate2023-10-211-1/+1
|
* ~abc2023-10-202-1/+2
| | | | minor changes
* ~ | quick fixabc2023-10-201-1/+1
|
* ~ | updated g4f.apiabc2023-10-204-153/+239
| | | | new api and requirements
* ~abc2023-10-121-63/+63
|
* Unify g4f tools into one CLIArran Hobson Sayers2023-10-122-0/+166