Commit Graph

2657 Commits

Author SHA1 Message Date
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
H Lohaus
c959d9b469
Update api.py 2024-11-20 10:12:54 +01:00
H Lohaus
dba41cda56
Fix image generation in OpenaiChat (#2390)
* Fix image generation in OpenaiChat

* Add PollinationsAI provider with image and text generation
2024-11-20 09:52:38 +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
419264f966
Merge pull request #2389 from hlohaus/info
Add Cerebras and HuggingFace2 provider, Fix RubiksAI provider
2024-11-20 02:42:15 +01:00
Heiner Lohaus
5e9e56ed53 Fix missing provider_handler in client 2024-11-20 02:35:35 +01:00
Heiner Lohaus
58fa409eef Add Cerebras and HuggingFace2 provider, Fix RubiksAI provider
Add support for image generation in Copilot provider
2024-11-20 02:34:47 +01:00
H Lohaus
de4f374c5d
Merge pull request #2387 from hlohaus/info
Add image upload to Copilot provider, Add --cookie-browsers argument to cli
2024-11-19 20:53:11 +01:00
Heiner Lohaus
275404373f Add --cookie-browsers argument to cli 2024-11-19 20:45:25 +01:00
Heiner Lohaus
1fe59623b2 Add image upload to Copilot provider
Add --cookie-browsers argument to cli
2024-11-19 20:26:00 +01:00
H Lohaus
3aa497f379
Merge pull request #2382 from hlohaus/info
Fix aliases to gui  arguments
2024-11-19 17:33:52 +01:00
Heiner Lohaus
e57b221c34 Fix aliases to gui arguments 2024-11-19 17:32:42 +01:00
H Lohaus
a0f3ea1443
Merge pull request #2381 from hlohaus/info
Add aliases to gui  arguments, fix logs variable
2024-11-19 17:26:05 +01:00
Heiner Lohaus
6e674ca33d Add aliases to gui arguments, fix logs variable 2024-11-19 17:25:40 +01:00
H Lohaus
1563946aa2
Merge pull request #2380 from hlohaus/info
Fix generate messages on error in gui
2024-11-19 15:57:16 +01:00
Heiner Lohaus
8f3fbee0d8 Add show log option to gui 2024-11-19 15:26:03 +01:00
Heiner Lohaus
7f1b8c9c60 Fix generate messages on error in gui 2024-11-19 11:35:02 +01:00
H Lohaus
23b3458216
Merge pull request #2378 from hlohaus/info
Add image upload to Copilot provider
2024-11-19 11:04:01 +01:00
Heiner Lohaus
c3103164ce Add image upload to Copilot provider 2024-11-19 11:03:50 +01:00
Heiner Lohaus
08085d345b Fix loading models in Airforce provider 2024-11-19 10:59:49 +01:00
Heiner Lohaus
b79a4d6aeb Ask for auth on image upload 2024-11-19 10:39:22 +01:00
Heiner Lohaus
7c10a036ed Add image upload to Copilot provider
Remove prompt lock from gui
Fix discord link in gui
2024-11-19 10:23:24 +01:00
H Lohaus
b93711529e
Merge pull request #2372 from hlohaus/info
Add Microsoft Copilot provider
2024-11-18 19:21:08 +01:00
Heiner Lohaus
2fe43166cc Update unittests 2024-11-18 18:23:16 +01:00
Heiner Lohaus
8bc456f3b6 Add account support in Copilot provider 2024-11-18 17:53:15 +01:00
Heiner Lohaus
f1ef23285a Fix load model list i AirforceChat provider
Add Microsoft Copilot provider
Show image support in the model list of the gui
2024-11-18 15:41:45 +01:00
H Lohaus
56beb19fef
Update Blackbox.py 2024-11-18 11:35:26 +01:00
H Lohaus
4526dd46e3
Update HuggingChat.py 2024-11-18 11:21:32 +01:00
H Lohaus
2cd43c1f39
Update README.md 2024-11-18 10:51:42 +01:00
H Lohaus
485f9b2c0a
Update README.md 2024-11-18 10:50:05 +01:00
H Lohaus
2b60af8797
Update copilot.py 2024-11-18 10:33:38 +01:00
H Lohaus
6cccd6d9ac
Merge pull request #2367 from hlohaus/data-uri
Add full nodriver support to OpenaiChat
2024-11-18 05:13:15 +01:00
H Lohaus
be6f2e4fbe
Delete .github/workflows/auto-pr-description.yml 2024-11-18 05:12:10 +01:00
H Lohaus
0cba6249cd
Update README.md 2024-11-18 05:02:53 +01:00
Heiner Lohaus
2a7770ea51 Add full nodriver support to OpenaiChat
Move small docker images before old images
2024-11-18 02:53:50 +01:00
H Lohaus
db14423420
Merge pull request #2365 from hlohaus/data-uri
Update docker tags in workfloe for slim images,
2024-11-17 19:52:13 +01:00
Heiner Lohaus
b7a8e03220 Update docker tags in workfloe for slim images,
Update read har file in OpenaiChat provider
Remove webdriver in OpenaiChat provider
Add supported_encodings and supported_encodings in OpenaiChat
2024-11-17 19:51:26 +01:00
Yuri V
45407d3aa9
Auto-generate PR description [G4F] (#2336)
* Auto-generate PR description [G4F]
2024-11-17 19:22:11 +01:00
H Lohaus
649de39081
Merge pull request #2364 from kqlio67/main
Refactor Image Processing and Error Handling in g4f Client Module
2024-11-17 18:37:39 +01:00
H Lohaus
275574d71e
Merge pull request #2362 from hlohaus/data-uri
Add nodriver to Gemini provider,
2024-11-17 18:32:51 +01:00
kqlio67
c7ff15cd94 Update (etc/unittest/backend.py) 2024-11-17 15:50:02 +02:00
kqlio67
db69892c96 Update (README.md) 2024-11-17 15:35:58 +02:00
kqlio67
8e2723938a Refactor Image Processing and Error Handling in g4f Client Module 2024-11-17 15:33:18 +02:00
Heiner Lohaus
ea1448001d Add nodriver to Gemini provider,
Add slim docker image with google-chrome usage,
Add the new docker images to publish worklow,
Update requirements.txt and pip requirements
2024-11-17 11:06:37 +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
H Lohaus
bc79969e5c
Update internet.py 2024-11-16 13:12:02 +01:00
H Lohaus
61428de4f3
Update asyncio.py 2024-11-16 13:00:02 +01:00
H Lohaus
9e4a63e74b
Update internet.py 2024-11-15 18:25:54 +01:00
H Lohaus
0f81b61739
Update internet.py 2024-11-15 18:23:07 +01:00
H Lohaus
d53db73248
Update internet.py 2024-11-15 18:21:22 +01:00