summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/needs_auth/OpenaiChat.py (unfollow)
Commit message (Collapse)AuthorFilesLines
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