summaryrefslogtreecommitdiffstats
path: root/g4f/api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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