summaryrefslogtreecommitdiffstats
path: root/g4f/api/__init__.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-05-05Add Ollama provider, Add vision support to OpenaiHeiner Lohaus1-1/+1
2024-04-29Add AppConfig class, update readmeHeiner Lohaus1-19/+27
2024-04-29Fix workers argument in apiHeiner Lohaus1-24/+33
2024-04-28clean codekafm1-13/+5
2024-04-28add authorization for g4f APIkafm1-5/+41
2024-04-21Add Replicate ProviderHeiner Lohaus1-20/+26
Fix Bug in OpenaiChat and MetaAI Add read cookie and .har files Use factory for api app
2024-04-20Disable Bing integration testHeiner Lohaus1-1/+1
2024-04-20Add workers and use_colors options to apiHeiner Lohaus1-34/+39
2024-04-18Add Ecosia Provider, Add OpenaiAccount aliasHeiner Lohaus1-15/+14
Use AsyncClient in API, add web_search parameter in API Improve error messages in Openai
2024-04-10Add OpenRouter and DeepInfraImage Provider (#1814)0.2.9.2H Lohaus1-1/+1
2024-04-07Add local models to gui, Fix You Provider, add AsyncClientHeiner Lohaus1-3/+25
2024-03-08Fix TypeError: 'Api' object is not callableRamon Victor Cardoso1-3/+3
2024-02-29Ignore empty auth header in apiHeiner Lohaus1-1/+3
Add live token count in gui
2024-02-24Add FlowGpt provider, Fix issue with None values in apiHeiner Lohaus1-3/+2
2024-02-23Set default values for generation configHeiner Lohaus1-5/+5
Set a list of providers
2024-02-23Add GeminiPro API providerHeiner Lohaus1-4/+9
Set min version for undetected-chromedriver Add api_key to the new client
2024-02-23Fix unittests, use Union typingHeiner Lohaus1-5/+5
2024-02-23Use new client in inter apiHeiner Lohaus1-136/+63
2024-02-14Basic support for the temperature parameternullstreak1-0/+2
2024-01-01Add support for all modelsHeiner Lohaus1-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
2023-12-23Fix api and None providerHeiner Lohaus1-20/+12
2023-12-14Add providers in apialvarosoares01@gmail.com1-0/+6
2023-12-01Added new provider PI (Hacky way to use) (#1291)madonchik1231-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
2023-11-19~ | improve compatibility with lower python versionsabc1-6/+6
remove tiktoken
2023-11-16Fixed tupo in list_ignored_providers parameter.razrab1-1/+1
2023-11-14Update __init__.pyKacper Kwapisz1-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 :)
2023-11-13Added back list_ignored_providers parameter to ChatCompletion.create method in api.razrab1-1/+5
2023-11-13Refactor item_data update to handle byte keys and convert messages to dict.razrab1-2/+11
2023-11-07fix: api streaming TypeError: Object of type generator is not JSON serializableGiancarlo-Ma1-1/+2
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-143/+138
2023-11-04Update __init__.pyThatLukinhasGuy1-2/+2
2023-11-02Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-02Update __init__.pyThatLukinhasGuy1-1/+0
2023-11-02Update __init__.pyThatLukinhasGuy1-200/+141
2023-10-27add api proxycatmeowjiao1-3/+19
2023-10-23Debug config in apiHeiner Lohaus1-1/+1
2023-10-23Refactor API initialization to accept a list of ignored providers.razrab1-3/+11
2023-10-23'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow1-6/+6
Co-authored-by: Sourcery AI <>
2023-10-20~abc1-1/+1
minor changes
2023-10-20~ | quick fixabc1-1/+1
2023-10-20~ | updated g4f.apiabc1-151/+195
new api and requirements
2023-10-12~abc1-63/+63
2023-10-12Unify g4f tools into one CLIArran Hobson Sayers1-0/+162