Commit Graph

38 Commits

Author SHA1 Message Date
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
H Lohaus
feb83c168b
New minimum requirements (#1515)
* New minimum requirements
* Add ConversationStyleOptionSets to Bing
* Add image.ImageRequest
* Improve python version support
* Improve unittests
2024-01-26 07:54:13 +01:00
Heiner Lohaus
91feb34054 Add ProviderModelMixin for model selection 2024-01-23 19:44:48 +01:00
Heiner Lohaus
55e5cf16cb Fix unittests 2024-01-14 15:35:58 +01:00
Heiner Lohaus
5756586cde Refactor code with AI
Add doctypes to many functions
Add file upload for text files
Add alternative url to FreeChatgpt
Add webp to allowed image types
2024-01-14 07:45:41 +01:00
Heiner Lohaus
ceed364cb1 Fix process_image in Bing
Add ImageResponse to Bing
Fix cursor styling in gui
2024-01-13 18:10:43 +01:00
Heiner Lohaus
ea8d6b847a Support upload image in gui
Add image upload to OpenaiChat
Add image response to OpenaiChat
Improve ChatGPT Plus Support
Remove unused requirements
2024-01-13 15:37:36 +01:00
Heiner Lohaus
50b796e8fe Add _puid cookie, save access_token in cookies in OpenaiChat 2024-01-01 01:51:49 +01:00
Heiner Lohaus
3576dee75a Add selenium to dockerfile
Load model and provider list in gui
Remove needs_auth in HuggingChat
Add default model and login url in gui
2023-12-06 09:35:36 +01:00
Heiner Lohaus
2157ccbcdb Add get_session_from_browser as cloudflare bypass 2023-12-02 05:40:07 +01:00
Heiner Lohaus
08e308348b Add webdriver module 2023-11-20 14:00:40 +01:00
Heiner Lohaus
9239cadd8b Add Response Handler to OpenaiChat
Update Providers with WebDriver
Add WebDriverSession helper
Use native streaming in curl_cffi
2023-11-19 05:36:04 +01:00
H Lohaus
52545369c5
Update OpenaiChat.py 2023-11-15 23:08:58 +01:00
Heiner Lohaus
745ea57c63 Add auto_continue to OpenaiChat
Update readme provider tables
2023-11-12 10:12:05 +01:00
Heiner Lohaus
c796ba2253 Add py_arkose_generator in OpenaiChat 2023-11-11 10:14:39 +01:00
Heiner Lohaus
dfefd22aa1 Add exec_js helper def 2023-11-03 22:24:35 +01:00
Heiner Lohaus
65b5227500 Fix NotImplementedError on WIn 2023-11-03 21:36:50 +01:00
Heiner Lohaus
cc301a3dd8 Use asyncio subprocess in OpenaiChat 2023-10-28 19:02:39 +02:00
Heiner Lohaus
dc04ca9306 Add arkose_token to OpenaiChat 2023-10-28 07:21:00 +02:00
Heiner Lohaus
598255fa26 Debug logging support
Async browse access token
2023-10-22 23:53:18 +02:00
Heiner Lohaus
c6b33e527c Add Proxy Support and Create Provider to Readme
Add proxy support to many providers
2023-10-09 13:33:20 +02:00
Heiner Lohaus
88d2cbff09 Add AiAsk, Chatgpt4Online, ChatgptDemo
and ChatgptX Provider
Fix Bing, Liaobots and ChatgptAi Provider
Add "gpt_35_long" model and custom timeout
2023-10-05 05:13:37 +02:00
Heiner Lohaus
6a61cf8116 Sort providers in new dirs 2023-10-04 07:20:51 +02:00