Commit Graph

67 Commits

Author SHA1 Message Date
Heiner Lohaus
1e2cf48cba Add authless OpenaiChat 2024-04-05 21:00:35 +02:00
HyiKi
b401b6df1c
Fix Gemini Proxy Connect call failed (#1768)
Gemini. py file adds get_connector to support proxy

---------

Co-authored-by: HyiKi <dango.little@gmail.com>
2024-04-05 16:16:12 +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
0a0698c7f3 Update docs / readme, Improve Gemini auth 2024-02-21 17:02:54 +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
9aeae65b9b Improve preview in image generation of Gemini
Fix issue in Bing Image Decorator
2024-02-11 09:26:02 +01:00
H Lohaus
33b247305c
Update Gemini.py 2024-02-09 18:47:57 +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
H Lohaus
5c75972c50
Update provider and model list (#1568)
Move bing.create_images and cookies helper
Disable some providers
2024-02-09 14:24:15 +01:00
Heiner Lohaus
23e002f52f Fix OpenaiChat provider, Fix issue with curl_cffi 2024-02-09 06:36:28 +01:00
Heiner Lohaus
4b41a8f4e8 Add example for Image Upload & Generation 2024-02-09 04:24:21 +01:00
Heiner Lohaus
47900f2371 Resolve images in Gemini Provider 2024-02-09 03:31:05 +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
38dbe4b8e5 Improve CreateImagesBing
Sort providers by category
2024-01-22 03:38:11 +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
H Lohaus
bee75be8e3
Add create images to Bing (#1426)
Add create images from Bing
Add FreeChatgpt Provider
Fix Bard Provider
2024-01-10 10:34:56 +01:00
Heiner Lohaus
c617b18d12 Add support for all models
Add AbstractProvider class
Add ProviderType type
Add get_last_provider function
Add version module and  VersionUtils
Display used provider in gui
Fix error response in api
2024-01-01 17:48:57 +01:00
Heiner Lohaus
50b796e8fe Add _puid cookie, save access_token in cookies in OpenaiChat 2024-01-01 01:51:49 +01:00
nullstreak
f554018da2
HuggingChat: Strip leading whitespace from the first token in the stream
For some reason first token from the stream on HuggingChat always starts with a whitespace. This commit strips the leading whitespace from the first token in the stream to fix this issue.
2023-12-15 23:58:13 +01:00
Heiner Lohaus
62397ad112 Remove needs_auth, add proxy support in VoiGpt 2023-12-10 23:43:48 +01:00
Meshwa428
983d17cb7b
Added a new provider voigpt.com (#1328)
* added the new VoiGpt provider

* fixed the voigpt and moved it to needs_auth

* added auth detail and doc to voiGpt provider
2023-12-10 23:22:58 +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