summaryrefslogtreecommitdiffstats
path: root/g4f/api (unfollow)
Commit message (Collapse)AuthorFilesLines
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-04Fix module 'g4f.debug' has no attribute 'get_version'Ramon Victor Cardoso1-1/+1
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 run moduleHeiner Lohaus1-1/+1
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)madonchik1232-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
2023-11-19~ | improve compatibility with lower python versionsabc2-13/+13
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 run.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 run.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-143/+138
2023-11-04Update run.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-2/+2
2023-11-02Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-02Update __init__.pyThatLukinhasGuy1-1/+0
2023-11-02Update run.pyThatLukinhasGuy1-1/+1
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-21fix bug - Cannot assign requested addresslate1-1/+1
2023-10-20~abc2-1/+2
minor changes
2023-10-20~ | quick fixabc1-1/+1
2023-10-20~ | updated g4f.apiabc4-153/+239
new api and requirements
2023-10-12~abc1-63/+63
2023-10-12Unify g4f tools into one CLIArran Hobson Sayers2-0/+166