Commit Graph

37 Commits (2b140a32554c1e94d095c55599a2f93e86f957cf)

Author SHA1 Message Date
Ramon Victor Cardoso 694f131d09 Fix module 'g4f.debug' has no attribute 'get_version' 6 months ago
Heiner Lohaus c617b18d12 Add support for all models
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
6 months ago
Heiner Lohaus 236ec98380 Fix api run module 6 months ago
Heiner Lohaus 3a81f9a2af Fix api and None provider 6 months ago
alvarosoares01@gmail.com 0ea720c1db Add providers in api 7 months ago
madonchik123 b0276f6c9e
Added new provider PI (Hacky way to use) (#1291)
* 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
7 months ago
abc 2345588d38 ~ | improve compatibility with lower python versions
remove tiktoken
8 months ago
razrab 9b19603f03 Fixed tupo in list_ignored_providers parameter. 8 months ago
Kacper Kwapisz ef3fdfa892
Update __init__.py
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 :)
8 months ago
razrab 7b26e20db0 Added back list_ignored_providers parameter to ChatCompletion.create method in api. 8 months ago
razrab 5a6d59e171 Refactor item_data update to handle byte keys and convert messages to dict. 8 months ago
Giancarlo-Ma ee5f2a4ab1
fix: api streaming TypeError: Object of type generator is not JSON serializable 8 months ago
ThatLukinhasGuy 90678515a6
Update __init__.py 8 months ago
ThatLukinhasGuy 65c3a88e0a
Update __init__.py 8 months ago
ThatLukinhasGuy 0a2ff2ba5e
Update run.py 8 months ago
ThatLukinhasGuy 7ef8135ed4
Update __init__.py 8 months ago
ThatLukinhasGuy 1726bc723d
Update __init__.py 8 months ago
ThatLukinhasGuy 81bd9bab33
Update __init__.py 8 months ago
ThatLukinhasGuy f51fe6322f
Update run.py 8 months ago
ThatLukinhasGuy 0af4fc0997
Update __init__.py 8 months ago
ThatLukinhasGuy 318112c8b9
Update run.py 8 months ago
ThatLukinhasGuy 87cf743a41
Update __init__.py 8 months ago
ThatLukinhasGuy 6e75e23033
Update __init__.py 8 months ago
ThatLukinhasGuy 80321cc47a
Update __init__.py 8 months ago
ThatLukinhasGuy a195d6d568
Update run.py 8 months ago
ThatLukinhasGuy 1e0b09b8d5
Update __init__.py 8 months ago
catmeowjiao 325f8558da add api proxy 8 months ago
AndPim4912 8d7ad98fcb
Merge branch 'main' into api-ignore-providers 9 months ago
Heiner Lohaus 9eee45023e
Debug config in api 9 months ago
razrab 36fe869a81 Refactor API initialization to accept a list of ignored providers. 9 months ago
ⲘrṨhส∂ow 3982f39424
'Refactored by Sourcery' (#1125)
Co-authored-by: Sourcery AI <>
9 months ago
late 0e93d841ba fix bug - Cannot assign requested address 9 months ago
abc dad69d24ce ~
minor changes
9 months ago
abc 0ddfe57431 ~ | quick fix 9 months ago
abc 8e7e694d81 ~ | updated g4f.api
new api and requirements
9 months ago
abc dc502a22de ~ 9 months ago
Arran Hobson Sayers 77697be333 Unify g4f tools into one CLI 9 months ago