Heiner Lohaus
b1dafc0ef7
Improve Liabots provider, Add image api support
5 months ago
碧舞すみほ
1d66c57a65
Improve compatibility of openai-node ( #1966 )
...
* improve compatibility of openai-node
* improve compatibility with OpenAI's models api
* allow image upload
5 months ago
H Lohaus
c343d66ac6
Update __init__.py
6 months ago
H Lohaus
e41bbdce02
Update __init__.py
6 months ago
H Lohaus
743fbc2a6c
Update __init__.py
6 months ago
Heiner Lohaus
8fcf618bbe
Add Ollama provider, Add vision support to Openai
6 months ago
Heiner Lohaus
ff8c1fc140
Add AppConfig class, update readme
6 months ago
Heiner Lohaus
26d5fcd216
Fix workers argument in api
6 months ago
kafm
127352de2a
clean code
6 months ago
kafm
112ca6380b
add authorization for g4f API
6 months ago
Heiner Lohaus
3a23e81de9
Add Replicate Provider
...
Fix Bug in OpenaiChat and MetaAI
Add read cookie and .har files
Use factory for api app
6 months ago
Heiner Lohaus
db00480153
Disable Bing integration test
6 months ago
Heiner Lohaus
83484c0a56
Add workers and use_colors options to api
6 months ago
Heiner Lohaus
7e543f4747
Add Ecosia Provider, Add OpenaiAccount alias
...
Use AsyncClient in API, add web_search parameter in API
Improve error messages in Openai
6 months ago
H Lohaus
00951eb791
Add OpenRouter and DeepInfraImage Provider ( #1814 )
6 months ago
Heiner Lohaus
b35dfcd1b0
Add local models to gui, Fix You Provider, add AsyncClient
6 months ago
Ramon Victor Cardoso
d8e715a30b
Fix TypeError: 'Api' object is not callable
7 months ago
Heiner Lohaus
3b96c27e3c
Ignore empty auth header in api
...
Add live token count in gui
8 months ago
Heiner Lohaus
55caf8e7de
Add FlowGpt provider, Fix issue with None values in api
8 months ago
Heiner Lohaus
6b3be02d63
Set default values for generation config
...
Set a list of providers
8 months ago
Heiner Lohaus
51264fe20c
Add GeminiPro API provider
...
Set min version for undetected-chromedriver
Add api_key to the new client
8 months ago
Heiner Lohaus
d733930a2b
Fix unittests, use Union typing
8 months ago
Heiner Lohaus
74397096b7
Use new client in inter api
8 months ago
nullstreak
12f7a89517
Basic support for the temperature parameter
8 months ago
Ramon Victor Cardoso
694f131d09
Fix module 'g4f.debug' has no attribute 'get_version'
10 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
10 months ago
Heiner Lohaus
236ec98380
Fix api run module
10 months ago
Heiner Lohaus
3a81f9a2af
Fix api and None provider
10 months ago
alvarosoares01@gmail.com
0ea720c1db
Add providers in api
10 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
11 months ago
abc
2345588d38
~ | improve compatibility with lower python versions
...
remove tiktoken
11 months ago
razrab
9b19603f03
Fixed tupo in list_ignored_providers parameter.
11 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 :)
11 months ago
razrab
7b26e20db0
Added back list_ignored_providers parameter to ChatCompletion.create method in api.
11 months ago
razrab
5a6d59e171
Refactor item_data update to handle byte keys and convert messages to dict.
11 months ago
Giancarlo-Ma
ee5f2a4ab1
fix: api streaming TypeError: Object of type generator is not JSON serializable
12 months ago
ThatLukinhasGuy
90678515a6
Update __init__.py
12 months ago
ThatLukinhasGuy
65c3a88e0a
Update __init__.py
12 months ago
ThatLukinhasGuy
0a2ff2ba5e
Update run.py
12 months ago
ThatLukinhasGuy
7ef8135ed4
Update __init__.py
12 months ago
ThatLukinhasGuy
1726bc723d
Update __init__.py
12 months ago
ThatLukinhasGuy
81bd9bab33
Update __init__.py
12 months ago
ThatLukinhasGuy
f51fe6322f
Update run.py
12 months ago
ThatLukinhasGuy
0af4fc0997
Update __init__.py
12 months ago
ThatLukinhasGuy
318112c8b9
Update run.py
12 months ago
ThatLukinhasGuy
87cf743a41
Update __init__.py
12 months ago
ThatLukinhasGuy
6e75e23033
Update __init__.py
12 months ago
ThatLukinhasGuy
80321cc47a
Update __init__.py
12 months ago
ThatLukinhasGuy
a195d6d568
Update run.py
12 months ago
ThatLukinhasGuy
1e0b09b8d5
Update __init__.py
12 months ago