Commit Graph

42 Commits

Author SHA1 Message Date
H Lohaus
3f93d34cbf
Add more contributers, add link to Swagger UI (#2443)
* Add more contributers, add link to Swagger UI
* Update Dockerfile-slim
* Update retry_provider.py
* Add html preview to gui, fix urls in website manifest
* Missing chunks in OpenaiChat
2024-11-30 22:11:18 +01:00
H Lohaus
79c407b939
IterListProvider support for generating images (#2441)
* IterListProvider support for generating images
* Add missing get_har_files import in Copilot
* Fix typo in dall-e-3 model name
* Add image client unittests
* Add MicrosoftDesigner provider
* Import MicrosoftDesigner and add it to the model list
2024-11-29 13:56:11 +01:00
Heiner Lohaus
c31f5435c4 Fix api with default providers, add unittests for RetryProvider 2024-11-28 17:46:46 +01:00
H Lohaus
fe0ab0427e
Fix api requests with retry provider 2024-11-28 10:42:14 +01:00
H Lohaus
e8bd24a25b
Add speech synthesize from Gemini (#2404)
* Improve slim docker image example, clean up OpenaiChat provider

* Enhance event loop management for asynchronous generators

* Fix attribute " shutdown_default_executor" not found in old python versions

* asyncio file created with all async helpers

* Add speech synthesize from Gemini. You can use it without a account
2024-11-22 01:50:48 +01:00
H Lohaus
e4bfd9db5c
Improve slim docker image example, clean up OpenaiChat provider (#2397)
* Improve slim docker image example, clean up OpenaiChat provider

* Enhance event loop management for asynchronous generators

* Fix attribute " shutdown_default_executor" not found in old python versions

* asyncio file added with all async helpers
2024-11-21 14:05:50 +01:00
H Lohaus
eae317a166
Support synthesize in Openai generator (#2394)
* 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

* Support speech synthesize in Openai generator
2024-11-21 05:00:08 +01: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
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
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
manatlan
5ec0302e19
FIX: fix the url in the markdown output (md compliance), and the chunk/ImageResponse to str ! (#2353)
add fix_url ( replace ' ' by '+' (to be markdown compliant))
2024-11-15 10:10:04 +01:00
kqlio67
427073805b refactor(g4f/providers/types.py): remove redundant attributes 2024-10-19 13:12:36 +03:00
Ryuk
d2f04e80be
Update base_provider.py 2024-05-20 18:25:06 +05:30
Ryuk
567b39c330
Update base_provider: Do not nest patch uvloop loop. 2024-05-20 09:53:37 +05:30
Heiner Lohaus
1994481872 Update model list / providers 2024-05-19 05:09:55 +02:00
Heiner Lohaus
24c5502d76 Add needs auth to provierds, Add PerplexityApi provider
Add proxy support to nodriver
2024-05-15 21:07:49 +02:00
Heiner Lohaus
59fcf9d2d3 Update chatgpt url, uvloop support 2024-05-15 02:27:51 +02:00
Heiner Lohaus
a26421bcd8 Add image model list 2024-04-21 15:15:55 +02:00
Heiner Lohaus
932d3a3ca0 Add MetaAI Provider and some small improvments 2024-04-20 10:43:53 +02:00
H Lohaus
718ea7c187
Merge pull request #1854 from hlohaus/nem
Add Ecosia Provider, Add OpenaiAccount alias
2024-04-18 21:13:26 +02:00
Heiner Lohaus
7e543f4747 Add Ecosia Provider, Add OpenaiAccount alias
Use AsyncClient in API, add web_search parameter in API
Improve error messages in Openai
2024-04-18 20:18:51 +02:00
H Lohaus
0f04dacdbd
Merge pull request #1833 from hlohaus/curl
Update event loop on windows only for old curl_cffi
2024-04-17 10:35:08 +02:00
Heiner Lohaus
0a3fe0b7df Update event loop on windows only for old curl_cffi 2024-04-13 18:02:47 +02:00
abc
f57af704ba update retryprovider
now works with one provider.
2024-04-12 22:29:43 +01:00
Heiner Lohaus
65bcc8ae8b Some small fixes 2024-04-10 14:23:30 +02:00
H Lohaus
00951eb791
Add OpenRouter and DeepInfraImage Provider (#1814) 2024-04-10 08:14:50 +02:00
Heiner Lohaus
b35dfcd1b0 Add local models to gui, Fix You Provider, add AsyncClient 2024-04-07 10:36:13 +02:00
Heiner Lohaus
a4ca5773bd Fix unittests 2024-04-06 01:18:45 +02:00
Heiner Lohaus
d44b39b31c Add Groq and Openai interfaces, Add integration tests 2024-04-06 01:05:00 +02:00
Heiner Lohaus
95bab66dad No arkose token and .har files 2024-03-26 06:42:47 +01:00
Heiner Lohaus
f797ec828c Fix GigaChat exceptions, Raise missing browser error 2024-03-16 20:02:15 +01:00
Heiner Lohaus
8cc6000ffb Add Pyinstaller support, Use curl_cffi in You provider 2024-03-15 11:46:06 +01:00
Heiner Lohaus
ecf110e59a Fix Bing create images, Add gui in webview init 2024-03-13 05:27:54 +01:00
Heiner Lohaus
5bcf21f9bd Add count chars to gui, Add retry support to fix rate limit in Bing 2024-03-12 18:45:22 +01:00
H Lohaus
6ef282de3a
Remove all not working provider (#1679)
Fix many providers
Add selenium-wire to requierments
2024-03-12 02:06:06 +01:00
Heiner Lohaus
ec51e9c764 Fix HuggingChat and PerplexityLabs and add HuggingFace provider
Add more models and image generation in You provider
Use You as second default image provider
2024-03-11 02:41:59 +01:00
Heiner Lohaus
ac86e576d2 Add websocket support in OpenaiChat 2024-02-28 07:36:43 +01:00
Heiner Lohaus
84812b9632 Update some providers
Improve read access_token in OpenaiChat
Add IterProvider
Add system message support in FlowGpt
Filter none values in new Client
2024-02-27 11:55:40 +01:00
Heiner Lohaus
6bbe60572e Add default values for rdns 2024-02-26 11:25:07 +01:00
Heiner Lohaus
02b84fb519 Improve filter_messages in gui
Add rdns suport for proxies
2024-02-26 10:59:18 +01:00
Heiner Lohaus
51b4aaae05 Add missing file 2024-02-23 04:51:40 +01:00
Heiner Lohaus
e5b7f72b71 Move some modules, create providers dir
Set min version for duckduckgo
Make duckduckgo search async
Remove get_lastet_version
2024-02-22 00:16:58 +01:00