summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/needs_auth/OpenaiChat.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-09-24Resolved merge conflictskqlio671-2/+4
2024-07-27Update g4f/models.py g4f/Provider/needs_auth/OpenaiChat.pykqlio671-4/+1
2024-07-25Comprehensive Update: New Providers, Model Enhancements, and Functionality Improvementskqlio671-1/+1
2024-07-05ChatGPT Reverse Engineering Update: Adapting to Arkose Detection ChangesKoukunn_1-1/+6
2024-05-19Update model list / providersHeiner Lohaus1-1/+2
2024-05-18Add get/set cookies dir, hide prompt option in guiHeiner Lohaus1-56/+21
2024-05-18Fix OpenaiChat provider, improve proofofworkHeiner Lohaus1-33/+48
2024-05-18Improve Liabots provider, Add image api supportHeiner Lohaus1-6/+6
2024-05-15Add needs auth to provierds, Add PerplexityApi providerHeiner Lohaus1-3/+6
Add proxy support to nodriver
2024-05-15Update chatgpt url, uvloop supportHeiner Lohaus1-7/+8
2024-04-28Add proofofwork to OpenaiChatHeiner Lohaus1-9/+44
2024-04-22Add vision models to readmeHeiner Lohaus1-0/+1
2024-04-21Add Replicate ProviderHeiner Lohaus1-7/+8
Fix Bug in OpenaiChat and MetaAI Add read cookie and .har files Use factory for api app
2024-04-21Add image model listHeiner Lohaus1-14/+16
2024-04-21Fix Bing Provider, Add Account Support for Meta AIHeiner Lohaus1-15/+8
Use default headers in OpenaiChat
2024-04-19Fix image generation in OpenaiChatHeiner Lohaus1-0/+2
2024-04-18Add Ecosia Provider, Add OpenaiAccount aliasHeiner Lohaus1-12/+16
Use AsyncClient in API, add web_search parameter in API Improve error messages in Openai
2024-04-15some more logging0.2.9.9abc1-0/+5
2024-04-13Add model alias for gpt-4-turbo-preview in OpenaiChat Providerochen11-2/+2
2024-04-12update retryproviderabc1-0/+3
now works with one provider.
2024-04-12Add labels to provider listHeiner Lohaus1-0/+1
2024-04-10Add OpenRouter and DeepInfraImage Provider (#1814)0.2.9.2H Lohaus1-1/+1
2024-04-07Add nodriver to OpenaiChatHeiner Lohaus1-0/+38
2024-04-05Add authless OpenaiChatHeiner Lohaus1-29/+56
2024-03-28Fix history support for OpenaiChatHeiner Lohaus1-6/+5
2024-03-27Fix attr conversation_id not foundHeiner Lohaus1-2/+2
2024-03-26Fix load .har files, add hardir to docker, add docsHeiner Lohaus1-1/+1
2024-03-26No arkose token and .har filesHeiner Lohaus1-28/+20
2024-03-25Add .har file support for OpenaiChatHeiner Lohaus1-60/+12
Update model list of HuggingChat Update styles of scrollbar in gui Fix image upload in gui
2024-03-19Fix missing websocket_request_id in OpenaiChatHeiner Lohaus1-1/+1
Add RateLimitErrors to Bing Add android support to gui api Add annotations import to gui api
2024-03-15Add Pyinstaller support, Use curl_cffi in You providerHeiner Lohaus1-1/+1
2024-03-14Add webview support to OpenaiChatHeiner Lohaus1-48/+116
2024-03-09Add system message input to guiHeiner Lohaus1-43/+45
Improve OpenaiChat provider
2024-03-08Expire cache, Fix multiple websocket conversations in OpenaiChatHeiner Lohaus1-6/+11
Map system messages to user messages in GeminiPro
2024-02-28Update OpenaiChat.py0.2.2.5H Lohaus1-1/+1
2024-02-28Update OpenaiChat.pyH Lohaus1-1/+1
2024-02-28Add websocket support in OpenaiChatHeiner Lohaus1-95/+133
2024-02-27Update some providersHeiner Lohaus1-11/+22
Improve read access_token in OpenaiChat Add IterProvider Add system message support in FlowGpt Filter none values in new Client
2024-02-26Add support for message history and system message in OpenaiChatHeiner Lohaus1-45/+75
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-25Fix cookies is None bugHeiner Lohaus1-1/+1
2024-02-23Add GeminiPro API providerHeiner Lohaus1-32/+57
Set min version for undetected-chromedriver Add api_key to the new client
2024-02-14Add unitests for the clientHeiner Lohaus1-1/+1
Fix: async generator ignored GeneratorExit Fix: ResourceWarning: unclosed event loop
2024-02-12Add new Client API with DocsHeiner Lohaus1-44/+41
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-09Read cookies from config in GeminiHeiner Lohaus1-1/+2
Fixes for OpenaiChat Provider
2024-02-09Update OpenaiChat.pyH Lohaus1-1/+1
2024-02-09Fix OpenaiChat provider, Fix issue with curl_cffiHeiner Lohaus1-7/+18
2024-02-08Add Gemini Provider with image upload and generationHeiner Lohaus1-10/+8
2024-01-29Add aiohttp_socks to requirementsHeiner Lohaus1-16/+15
Fix preview for uploaded and generated images in gui Improve typing, readme
2024-01-26Fix: ChromeDriver only supports characters in the BMPHeiner Lohaus1-5/+5
Add set_cookies helper, Show last used model
2024-01-26New minimum requirements (#1515)0.2.0.6H Lohaus1-20/+32
* New minimum requirements * Add ConversationStyleOptionSets to Bing * Add image.ImageRequest * Improve python version support * Improve unittests
2024-01-23Add ProviderModelMixin for model selectionHeiner Lohaus1-37/+29
2024-01-14Fix unittestsHeiner Lohaus1-12/+40
2024-01-14Refactor code with AIHeiner Lohaus1-110/+229
Add doctypes to many functions Add file upload for text files Add alternative url to FreeChatgpt Add webp to allowed image types
2024-01-13Fix process_image in BingHeiner Lohaus1-4/+1
Add ImageResponse to Bing Fix cursor styling in gui
2024-01-13Support upload image in guiHeiner Lohaus1-102/+242
Add image upload to OpenaiChat Add image response to OpenaiChat Improve ChatGPT Plus Support Remove unused requirements
2024-01-01Add _puid cookie, save access_token in cookies in OpenaiChatHeiner Lohaus1-7/+19
2023-12-06Add selenium to dockerfileHeiner Lohaus1-22/+15
Load model and provider list in gui Remove needs_auth in HuggingChat Add default model and login url in gui
2023-12-02Add get_session_from_browser as cloudflare bypassHeiner Lohaus1-1/+1
2023-11-20Add webdriver moduleHeiner Lohaus1-75/+56
2023-11-19Add Response Handler to OpenaiChatHeiner Lohaus1-74/+200
Update Providers with WebDriver Add WebDriverSession helper Use native streaming in curl_cffi
2023-11-15Update OpenaiChat.pyH Lohaus1-0/+1
2023-11-12Add auto_continue to OpenaiChatHeiner Lohaus1-45/+69
Update readme provider tables
2023-11-11Add py_arkose_generator in OpenaiChatHeiner Lohaus1-48/+12
2023-11-03Add exec_js helper defHeiner Lohaus1-21/+25
2023-11-03Fix NotImplementedError on WInHeiner Lohaus1-0/+10
2023-10-28Use asyncio subprocess in OpenaiChatHeiner Lohaus1-3/+10
2023-10-28Add arkose_token to OpenaiChatHeiner Lohaus1-3/+46
2023-10-22Debug logging supportHeiner Lohaus1-20/+27
Async browse access token
2023-10-09 Add Proxy Support and Create Provider to ReadmeHeiner Lohaus1-6/+11
Add proxy support to many providers
2023-10-05Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus1-1/+2
and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout
2023-10-04Sort providers in new dirsHeiner Lohaus1-4/+4
2023-10-04Use custom user dirHeiner Lohaus1-8/+11
2023-10-03Fix fetch_access_token in openaiHeiner Lohaus1-10/+16
2023-10-03Add streaming in openai chatHeiner Lohaus1-23/+50
Fetch access token with chromedriver
2023-09-25Add Myshell ProviderHeiner Lohaus1-13/+7
Remove auto proxy prefix
2023-09-17Revert "Fix type hint"Tekky1-1/+1
2023-09-16fix typo: provider -> ProviderMIDORIBIN1-1/+1
2023-09-09Add CodeLinkAva Provider, Improve test_async.pyHeiner Lohaus1-1/+1
2023-09-05Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat ProviderHeiner Lohaus1-48/+56
2023-09-03type hintsmsi-JunXiang1-3/+7
Use `from __future__ import annotations avoid `dict` and `list` cause "TypeErro: 'type' object is not subscriptable". Refer to the following Stack Overflow discussions for more information: 1. https://stackoverflow.com/questions/75202610/typeerror-type-object-is-not-subscriptable-python 2. https://stackoverflow.com/questions/59101121/type-hint-for-a-dict-gives-typeerror-type-object-is-not-subscriptable
2023-08-28Add async support for H2oHeiner Lohaus1-17/+24
Add format_prompt helper Fix create_completion in AsyncGeneratorProvider Move get_cookies from constructor to function Add ow HuggingChat implement Remove need auth form Liabots Add staic cache for access_token in OpenaiChat Add OpenAssistant provider Support stream and async in You Support async and add userId in Yqcloud Add log_time module
2023-08-27~ | code stylingabc1-8/+9
2023-08-25Add OpenaiChat and Hugchat ProviderHeiner Lohaus1-0/+74
Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function