Commit Graph

15 Commits

Author SHA1 Message Date
TrueSaiyan
30b9707657
FIX: Bug fix for flux-pro aka flux-schnell
https://api.airforce/imagine2?model=flux-4o

https://api.airforce/imagine2?model=flux-schnell 
and
https://api.airforce/imagine2?model=flux-1.1-pro

all generate same images but "Flux-1.1-Pro" doesnt work
2024-11-25 21:28:50 +08:00
H Lohaus
ffb4b0d162
Improve download of generated images, serve images in the api (#2391)
* Improve download of generated images, serve images in the api
Add support for conversation handling in the api

* Add orginal prompt to image response

* Add download images option in gui, fix loading model list in Airforce

* Add download images option in gui, fix loading model list in Airforce
2024-11-20 19:58:16 +01:00
kqlio67
ea346971df
New RobocodersAPI provider with providers enhancement and client updates (#2388)
* refactor(g4f/Provider/Airforce.py): Enhance Airforce provider with dynamic model fetching

* refactor(g4f/Provider/Blackbox.py): Enhance Blackbox AI provider configuration and streamline code

* feat(g4f/Provider/RobocodersAPI.py): Add RobocodersAPI new async chat provider

* refactor(g4f/client/__init__.py): Improve provider handling in async_generate method

* refactor(g4f/models.py): Update provider configurations for multiple models

* refactor(g4f/Provider/Blackbox.py): Streamline model configuration and improve response handling

---------

Co-authored-by: kqlio67 <kqlio67@users.noreply.github.com>
2024-11-20 09:51:29 +01:00
H Lohaus
6ce493d4df
Fix api streaming, fix AsyncClient (#2357)
* Fix api streaming, fix AsyncClient, Improve Client class, Some providers fixes, Update models list, Fix some tests, Update model list in Airforce provid
er, Add OpenAi image generation url to api, Fix reload and debug in api arguments, Fix websearch in gui

* Fix Cloadflare and Pi and AmigoChat provider

* Fix conversation support in DDG provider, Add cloudflare bypass with nodriver

* Fix unittests without curl_cffi
2024-11-16 13:19:51 +01:00
kqlio67
82b8c22b0b Update (g4f/models.py g4f/Provider/airforce/AirforceChat.py docs/providers-and-models.md) 2024-11-11 20:21:03 +02:00
kqlio67
db347ef097 Update (g4f/models.py g4f/Provider/airforce/ g4f/Provider/Airforce.py) 2024-11-08 19:20:21 +02:00
kqlio67
11bec81dc4 Update (g4f/Provider/Airforce.py) 2024-11-01 18:01:29 +02:00
kqlio67
7cd2b8cd14 refactor(g4f/Provider/Airforce.py): update image generation prompt and models 2024-10-20 12:44:17 +03:00
kqlio67
d7573a0039 Remove providers in the providers , 2024-10-19 13:21:19 +03:00
kqlio67
3119b8e37e chore: temporarily disable some new providers 2024-10-12 21:34:04 +03:00
kqlio67
d4e0fd7cb4 feat(g4f/Provider/Airforce.py): update model list and improve text processing 2024-10-11 09:36:32 +03:00
kqlio67
2103ea87b5 refactor(g4f/Provider/Airforce.py): enhance Airforce provider functionality-2 2024-10-03 00:27:14 +03:00
kqlio67
6bf4c4bc37 refactor(g4f/Provider/Airforce.py): enhance Airforce provider functionality 2024-10-03 00:25:26 +03:00
kqlio67
f8e403a745 Resolved merge conflicts 2024-09-24 13:23:53 +03:00
kqlio67
3e491c63d7 feat(providers): unify Rocks and FluxAirforce into Airforce provider 2024-09-13 17:09:31 +03:00