Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat(api): support async streaming in chat completions | kqlio67 | 2024-10-30 | 1 | -15/+5 |
| | |||||
* | feat(g4f/api/__init__.py): support both ':' and '-' in model prefixes | kqlio67 | 2024-10-30 | 1 | -0/+14 |
| | |||||
* | refactor(g4f/api/__init__.py): refactor API structure and improve async handling | kqlio67 | 2024-10-25 | 1 | -64/+83 |
| | |||||
* | Merge pull request #2281 from foxfire52/main | Tekky | 2024-10-22 | 1 | -0/+8 |
|\ | | | | | Add support for CORS preflight OPTIONS requests (#2006) | ||||
| * | Add support for CORS preflight OPTION requests (#2006) | foxfire52 | 2024-10-17 | 1 | -1/+9 |
| | | |||||
* | | refactor(g4f/api/__init__.py): use asynchronous methods in Client | kqlio67 | 2024-10-15 | 1 | -7/+9 |
|/ | |||||
* | fix: --ignored-providers option not working due to variable name mismatch | 42 | 2024-09-26 | 1 | -2/+2 |
| | |||||
* | Improve Liabots provider, Add image api support | Heiner Lohaus | 2024-05-18 | 1 | -21/+45 |
| | |||||
* | Improve compatibility of openai-node (#1966) | 碧舞すみほ | 2024-05-17 | 1 | -1/+4 |
| | | | | | | | * improve compatibility of openai-node * improve compatibility with OpenAI's models api * allow image upload | ||||
* | Update __init__.py | H Lohaus | 2024-05-06 | 1 | -1/+1 |
| | |||||
* | Update __init__.py | H Lohaus | 2024-05-06 | 1 | -1/+6 |
| | |||||
* | Update __init__.py0.3.0.10 | H Lohaus | 2024-05-06 | 1 | -10/+3 |
| | |||||
* | Add Ollama provider, Add vision support to Openai | Heiner Lohaus | 2024-05-05 | 1 | -1/+1 |
| | |||||
* | Add AppConfig class, update readme | Heiner Lohaus | 2024-04-29 | 1 | -19/+27 |
| | |||||
* | Fix workers argument in api | Heiner Lohaus | 2024-04-29 | 1 | -24/+33 |
| | |||||
* | clean code | kafm | 2024-04-28 | 1 | -13/+5 |
| | |||||
* | add authorization for g4f API | kafm | 2024-04-28 | 1 | -5/+41 |
| | |||||
* | Add Replicate Provider | Heiner Lohaus | 2024-04-21 | 1 | -20/+26 |
| | | | | | | Fix Bug in OpenaiChat and MetaAI Add read cookie and .har files Use factory for api app | ||||
* | Disable Bing integration test | Heiner Lohaus | 2024-04-20 | 1 | -1/+1 |
| | |||||
* | Add workers and use_colors options to api | Heiner Lohaus | 2024-04-20 | 2 | -37/+40 |
| | |||||
* | Add Ecosia Provider, Add OpenaiAccount alias | Heiner Lohaus | 2024-04-18 | 1 | -15/+14 |
| | | | | | Use AsyncClient in API, add web_search parameter in API Improve error messages in Openai | ||||
* | Add OpenRouter and DeepInfraImage Provider (#1814)0.2.9.2 | H Lohaus | 2024-04-10 | 1 | -1/+1 |
| | |||||
* | Add local models to gui, Fix You Provider, add AsyncClient | Heiner Lohaus | 2024-04-07 | 1 | -3/+25 |
| | |||||
* | Fix TypeError: 'Api' object is not callable | Ramon Victor Cardoso | 2024-03-08 | 1 | -3/+3 |
| | |||||
* | Ignore empty auth header in api | Heiner Lohaus | 2024-02-29 | 1 | -1/+3 |
| | | | | Add live token count in gui | ||||
* | Add FlowGpt provider, Fix issue with None values in api | Heiner Lohaus | 2024-02-24 | 1 | -3/+2 |
| | |||||
* | Set default values for generation config | Heiner Lohaus | 2024-02-23 | 1 | -5/+5 |
| | | | | Set a list of providers | ||||
* | Add GeminiPro API provider | Heiner Lohaus | 2024-02-23 | 1 | -4/+9 |
| | | | | | Set min version for undetected-chromedriver Add api_key to the new client | ||||
* | Fix unittests, use Union typing | Heiner Lohaus | 2024-02-23 | 1 | -5/+5 |
| | |||||
* | Use new client in inter api | Heiner Lohaus | 2024-02-23 | 1 | -136/+63 |
| | |||||
* | Basic support for the temperature parameter | nullstreak | 2024-02-14 | 1 | -0/+2 |
| | |||||
* | Fix module 'g4f.debug' has no attribute 'get_version' | Ramon Victor Cardoso | 2024-01-04 | 1 | -1/+1 |
| | |||||
* | Add support for all models | Heiner Lohaus | 2024-01-01 | 1 | -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 module | Heiner Lohaus | 2023-12-23 | 1 | -1/+1 |
| | |||||
* | Fix api and None provider | Heiner Lohaus | 2023-12-23 | 1 | -20/+12 |
| | |||||
* | Add providers in api | alvarosoares01@gmail.com | 2023-12-14 | 1 | -0/+6 |
| | |||||
* | Added new provider PI (Hacky way to use) (#1291) | madonchik123 | 2023-12-01 | 2 | -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 versions | abc | 2023-11-19 | 2 | -13/+13 |
| | | | | remove tiktoken | ||||
* | Fixed tupo in list_ignored_providers parameter. | razrab | 2023-11-16 | 1 | -1/+1 |
| | |||||
* | Update __init__.py | Kacper Kwapisz | 2023-11-14 | 1 | -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. | razrab | 2023-11-13 | 1 | -1/+5 |
| | |||||
* | Refactor item_data update to handle byte keys and convert messages to dict. | razrab | 2023-11-13 | 1 | -2/+11 |
| | |||||
* | fix: api streaming TypeError: Object of type generator is not JSON serializable | Giancarlo-Ma | 2023-11-07 | 1 | -1/+2 |
| | |||||
* | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | |||||
* | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | |||||
* | Update run.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | |||||
* | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | |||||
* | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | |||||
* | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | |||||
* | Update run.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | |||||
* | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -143/+138 |
| | |||||
* | Update run.py | ThatLukinhasGuy | 2023-11-04 | 1 | -1/+1 |
| | |||||
* | Update __init__.py | ThatLukinhasGuy | 2023-11-04 | 1 | -2/+2 |
| | |||||
* | Update __init__.py | ThatLukinhasGuy | 2023-11-02 | 1 | -1/+1 |
| | |||||
* | Update __init__.py | ThatLukinhasGuy | 2023-11-02 | 1 | -1/+0 |
| | |||||
* | Update run.py | ThatLukinhasGuy | 2023-11-02 | 1 | -1/+1 |
| | |||||
* | Update __init__.py | ThatLukinhasGuy | 2023-11-02 | 1 | -200/+141 |
| | |||||
* | add api proxy | catmeowjiao | 2023-10-27 | 1 | -3/+19 |
| | |||||
* | Merge branch 'main' into api-ignore-providers | AndPim4912 | 2023-10-23 | 1 | -10/+7 |
|\ | |||||
| * | Debug config in api | Heiner Lohaus | 2023-10-23 | 1 | -1/+1 |
| | | |||||
| * | 'Refactored by Sourcery' (#1125) | ⲘrṨhส∂ow | 2023-10-23 | 1 | -6/+6 |
| | | | | | | Co-authored-by: Sourcery AI <> | ||||
* | | Refactor API initialization to accept a list of ignored providers. | razrab | 2023-10-23 | 1 | -3/+11 |
|/ | |||||
* | fix bug - Cannot assign requested address | late | 2023-10-21 | 1 | -1/+1 |
| | |||||
* | ~ | abc | 2023-10-20 | 2 | -1/+2 |
| | | | | minor changes | ||||
* | ~ | quick fix | abc | 2023-10-20 | 1 | -1/+1 |
| | |||||
* | ~ | updated g4f.api | abc | 2023-10-20 | 4 | -153/+239 |
| | | | | new api and requirements | ||||
* | ~ | abc | 2023-10-12 | 1 | -63/+63 |
| | |||||
* | Unify g4f tools into one CLI | Arran Hobson Sayers | 2023-10-12 | 2 | -0/+166 |