Commit Graph

72 Commits

Author SHA1 Message Date
kqlio67
6dd378d2ac Update (g4f/Provider/) 2024-11-06 18:39:14 +02:00
kqlio67
f8e403a745 Resolved merge conflicts 2024-09-24 13:23:53 +03:00
kqlio67
32d471d0ed Update g4f/models.py g4f/Provider/needs_auth/OpenaiChat.py 2024-07-27 12:23:56 +03:00
kqlio67
29c13e26cd Comprehensive Update: New Providers, Model Enhancements, and Functionality Improvements 2024-07-25 09:21:55 +03:00
Koukunn_
e34e0fa3f7 ChatGPT Reverse Engineering Update: Adapting to Arkose Detection Changes 2024-07-05 14:26:06 +00:00
Heiner Lohaus
1994481872 Update model list / providers 2024-05-19 05:09:55 +02:00
Heiner Lohaus
9ddac1715f Add get/set cookies dir, hide prompt option in gui 2024-05-18 23:13:57 +02:00
Heiner Lohaus
96e378e9e2 Fix OpenaiChat provider, improve proofofwork 2024-05-18 15:37:46 +02:00
Heiner Lohaus
b1dafc0ef7 Improve Liabots provider, Add image api support 2024-05-18 07:37:37 +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
10896102fa Add proofofwork to OpenaiChat 2024-04-28 22:19:51 +02:00
Heiner Lohaus
4bc4d635bc Add vision models to readme 2024-04-22 01:27:48 +02:00
Heiner Lohaus
3a23e81de9 Add Replicate Provider
Fix Bug in OpenaiChat and MetaAI
Add read cookie and .har files
Use factory for api app
2024-04-21 22:39:00 +02:00
Heiner Lohaus
a26421bcd8 Add image model list 2024-04-21 15:15:55 +02:00
Heiner Lohaus
db2d6cffd9 Fix Bing Provider, Add Account Support for Meta AI
Use default headers in OpenaiChat
2024-04-21 07:22:59 +02:00
Heiner Lohaus
37b91e6dac Fix image generation in OpenaiChat 2024-04-19 14:07:56 +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
abc
fdbb474151 some more logging 2024-04-15 10:31:36 +01:00
ochen1
7fef83593a
Add model alias for gpt-4-turbo-preview in OpenaiChat Provider 2024-04-13 14:28:12 -06:00
abc
f57af704ba update retryprovider
now works with one provider.
2024-04-12 22:29:43 +01:00
Heiner Lohaus
f724c07f1b Add labels to provider list 2024-04-12 20:58:40 +02:00
H Lohaus
00951eb791
Add OpenRouter and DeepInfraImage Provider (#1814) 2024-04-10 08:14:50 +02:00
Heiner Lohaus
bdc61ca273 Add nodriver to OpenaiChat 2024-04-07 16:02:49 +02:00
Heiner Lohaus
1e2cf48cba Add authless OpenaiChat 2024-04-05 21:00:35 +02:00
Heiner Lohaus
03fd5ac99a Fix history support for OpenaiChat 2024-03-28 11:36:25 +01:00
Heiner Lohaus
d0da5900c4 Fix attr conversation_id not found 2024-03-27 19:04:00 +01:00
Heiner Lohaus
fd92918b77 Fix load .har files, add hardir to docker, add docs 2024-03-26 21:45:53 +01:00
Heiner Lohaus
95bab66dad No arkose token and .har files 2024-03-26 06:42:47 +01:00
Heiner Lohaus
347d3f92da Add .har file support for OpenaiChat
Update model list of HuggingChat
Update styles of scrollbar in gui
Fix image upload in gui
2024-03-25 21:06:51 +01:00
Heiner Lohaus
486e43dabd Fix missing websocket_request_id in OpenaiChat
Add RateLimitErrors to Bing
Add android support to gui api
Add annotations import to gui api
2024-03-19 18:48:32 +01:00
Heiner Lohaus
8cc6000ffb Add Pyinstaller support, Use curl_cffi in You provider 2024-03-15 11:46:06 +01:00
Heiner Lohaus
993c9498c4 Add webview support to OpenaiChat 2024-03-14 13:53:57 +01:00
Heiner Lohaus
14167671d4 Add system message input to gui
Improve OpenaiChat provider
2024-03-09 03:10:59 +01:00
Heiner Lohaus
cfa45e7016 Expire cache, Fix multiple websocket conversations in OpenaiChat
Map system messages to user messages in GeminiPro
2024-03-08 11:01:38 +01:00
H Lohaus
f7f4018d36
Update OpenaiChat.py 2024-02-28 10:02:09 +01:00
H Lohaus
ba04bf2bb1
Update OpenaiChat.py 2024-02-28 09:59:31 +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
862e5ef16d Add support for message history and system message in OpenaiChat
Add fetch access_token and fix cookie usage in OpenaiChat
Fix save created access_token in cookies in OpenaiChat
Add use_auth_header config in GeminiPro
2024-02-26 23:41:06 +01:00
Heiner Lohaus
dd2264b616 Fix cookies is None bug 2024-02-25 07:16:54 +01:00
Heiner Lohaus
51264fe20c Add GeminiPro API provider
Set min version for undetected-chromedriver
Add api_key to the new client
2024-02-23 11:33:38 +01:00
Heiner Lohaus
e1a0b3ffa2 Add unitests for the client
Fix: async generator ignored GeneratorExit
Fix: ResourceWarning: unclosed event loop
2024-02-14 09:21:57 +01:00
Heiner Lohaus
aba4b96f23 Add new Client API with Docs
Use object urls for the preview of image uploads.
Fix upload images in You provider
Fix create image. It's now a single image.
Improve system message for create images.
2024-02-12 11:41:27 +01:00
Heiner Lohaus
af204c31cb Read cookies from config in Gemini
Fixes for OpenaiChat Provider
2024-02-09 18:11:35 +01:00
H Lohaus
2054acce0a
Update OpenaiChat.py 2024-02-09 15:02:03 +01:00
Heiner Lohaus
23e002f52f Fix OpenaiChat provider, Fix issue with curl_cffi 2024-02-09 06:36:28 +01:00
Heiner Lohaus
c1b992c346 Add Gemini Provider with image upload and generation 2024-02-08 22:02:52 +01:00
Heiner Lohaus
a28bab9387 Add aiohttp_socks to requirements
Fix preview for uploaded and generated images in gui
Improve typing, readme
2024-01-29 18:14:46 +01:00
Heiner Lohaus
1eb7dc05e5 Fix: ChromeDriver only supports characters in the BMP
Add set_cookies helper, Show last used model
2024-01-26 12:49:52 +01:00