summaryrefslogtreecommitdiffstats
path: root/g4f/Provider (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-21DeepInfra: Fix token duplicationnullstreak1-9/+16
2024-01-21Improve testsHeiner Lohaus2-26/+28
2024-01-20Remove usage of get_event_loop helperHeiner Lohaus1-9/+21
2024-01-18Llama2.py result decode errordiaodeng1-2/+2
2024-01-14Remove deprecation in get_event_loopHeiner Lohaus1-4/+10
2024-01-14Fix unittests (#1472)H Lohaus1-10/+4
* Fix unittests * Fix missing distutils, install setuptools * Fix version not found * Remove deprecation in get_event_loop
2024-01-14Fix unittestsHeiner Lohaus1-12/+40
2024-01-14Change doctypes style to GoogleHeiner Lohaus4-4/+138
Fix typo in latest_version Fix Phind Provider Add unittest worklow and main tests
2024-01-14Refactor code with AIHeiner Lohaus9-482/+886
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 Lohaus3-17/+18
Add ImageResponse to Bing Fix cursor styling in gui
2024-01-13Improve FreeChatgpt ProviderHeiner Lohaus1-32/+44
2024-01-13Added support for more models: FreeChatgpt (#1456)Debaditya Banerji1-42/+35
* Improved FreeChatgpt, added support for more models * Added new model: Gemini Pro
2024-01-13Fix merge issuesHeiner Lohaus1-4/+1
2024-01-13Support upload image in guiHeiner Lohaus7-254/+316
Add image upload to OpenaiChat Add image response to OpenaiChat Improve ChatGPT Plus Support Remove unused requirements
2024-01-13Cleanup unused dependenciesAkash Mondal7-6992/+20
* remove packages, that are not a direct dependency to this project, from requirements.txt * no need to just numpy for simple sqrt operation on numbers * write code on python than using a js compiler
2024-01-12Add publish-to-pypi workflowHeiner Lohaus1-1/+5
Improve gui frontend Fix web search in bing
2024-01-11Fixed Error "No module named g4f.Provider.bing" (#1448)Debaditya Banerji1-0/+0
* Added init file to initiate bing as a Module
2024-01-10Fix create_async in CreateImagesProviderHeiner Lohaus1-5/+8
2024-01-10Fix bing stream funcHeiner Lohaus1-1/+1
2024-01-10Added timeout to Bing (#1438)0.1.9.10Eikosa1-8/+9
Co-authored-by: H Lohaus <hlohaus@users.noreply.github.com>
2024-01-10Add create images to Bing (#1426)H Lohaus9-279/+615
Add create images from Bing Add FreeChatgpt Provider Fix Bard Provider
2024-01-02Add GeminiProChat Provider (#1419)H Lohaus2-1/+58
* Add GeminiProChat Provider
2024-01-02New Provider 'Bestim' (#1416)4sh2-0/+79
* Add new provider Bestim
2024-01-01Fix DeepInfra ProviderHeiner Lohaus1-40/+48
2024-01-01Add support for all modelsHeiner Lohaus32-134/+120
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-01Patch event loop on win, Check event loop closedHeiner Lohaus2-21/+24
2024-01-01Add _puid cookie, save access_token in cookies in OpenaiChatHeiner Lohaus1-7/+19
2023-12-31Fix Chatgpt4Online providerHeiner Lohaus1-17/+47
2023-12-31Fix Liabots sessionHeiner Lohaus1-4/+10
2023-12-29Update Liaobots.pyOmiiiDev1-3/+40
Added more models
2023-12-27Improve Chatxyz ProviderHeiner Lohaus1-22/+14
2023-12-27Added new Provider Chatxyz (#1393)Debaditya Banerji2-0/+69
* Added fucntionality for Provider * Added Provider in init * System message if present must be the first object in message array
2023-12-26Fix Phind providerZabir Raihan1-3/+4
2023-12-25Support Python 3.8Heiner Lohaus1-2/+2
2023-12-25Add Gpt6 ProviderHeiner Lohaus3-1/+57
2023-12-23Fix streaming in AuraHeiner Lohaus1-1/+2
2023-12-23Fix streaming in AuraHeiner Lohaus1-12/+11
2023-12-23Added OpenChat's Aura Model as a new Provider (#1371)Debaditya Banerji2-1/+57
* Added File for new Provider: Aura * Added Aura Provider in init
2023-12-21Update Bing.pynullstreak1-4/+12
2023-12-19Bing: add parameter to enable/disable web search (#1360)nullstreak1-4/+8
Web search is disabled by default and can be enabled by passing `web_search = True`
2023-12-19Removed the condition for filtering token_idsdevAdityaa1-1/+1
2023-12-18Fix Bing provider Cookie issue 2eminemkun1-2/+7
2023-12-16Fix remove NoowAi, Fix download dir in dockerHeiner Lohaus1-1/+0
2023-12-16Fix Bing provider Cookie issueeminemkun1-2/+1
2023-12-15HuggingChat: Strip leading whitespace from the first token in the streamnullstreak1-2/+7
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-15Moved NoowAI to deprecated folder as it's been officially taken downdevAdityaa1-0/+0
2023-12-14Remove VoiGptH Lohaus1-1/+0
2023-12-12Update and rename g4f/Provider/VoiGpt.py to g4f/Provider/deprecated/VoiGpt.pyGEOEGII5551-1/+1
2023-12-11Add error classesHeiner Lohaus1-3/+4
Move version check to debug
2023-12-10Remove needs_auth, add proxy support in VoiGptHeiner Lohaus3-81/+95
2023-12-10Added a new provider voigpt.com (#1328)Meshwa4282-1/+81
* added the new VoiGpt provider * fixed the voigpt and moved it to needs_auth * added auth detail and doc to voiGpt provider
2023-12-08Fix llama2 provider, Update TOC in readme (#1325)H Lohaus1-9/+7
2023-12-07Update readme. Add docker hubHeiner Lohaus1-1/+1
2023-12-07Add websearch to gui (#1314)H Lohaus3-14/+73
* Add websearch to gui * Fix version_check config * Add version badge in README.md * Show version in gui * Add docker hub build * Fix gui backend, improve style
2023-12-06Update Pi.pyH Lohaus1-3/+6
2023-12-06Add selenium to dockerfileHeiner Lohaus6-41/+43
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 Lohaus12-187/+50
2023-12-02Add proxy support / fix streamingHeiner Lohaus1-15/+13
2023-12-01Update pi providerHeiner Lohaus3-114/+96
2023-12-01Added new provider PI (Hacky way to use) (#1291)madonchik1232-1/+113
* Added new provider PI (Hacky way to use) * Updated models endpoint made it show real info about the model.py * Added cloudscraper to the requirements * Fixed some bugs aka made streaming also return role
2023-11-24~abc1-1/+1
chatgptx not working
2023-11-24~abc2-59/+56
fix DeepInfra
2023-11-22Fix ChatgptAi ProviderHeiner Lohaus1-1/+2
2023-11-22Add GptTalkRu ProviderHeiner Lohaus2-0/+50
2023-11-22Disable ChatgptDemoAi, ChatAnywhere and BerlinHeiner Lohaus3-5/+6
2023-11-22Fix Phind and GptGo ProviderHeiner Lohaus5-131/+188
2023-11-20~ | g4f v-0.1.8.90.1.8.9abc1-6/+10
2023-11-20~ | improve compatibilityabc15-29/+65
2023-11-20Update AItianhu.pyH Lohaus1-3/+4
2023-11-20Update GptGo.pyH Lohaus1-2/+3
2023-11-20Syntax error Fixed : GptGo.pyegcash1-2/+2
2023-11-20Add webdriver moduleHeiner Lohaus14-269/+219
2023-11-20Add auto support params methodHeiner Lohaus26-355/+56
2023-11-20Fix tupo in GptGorazrab1-2/+2
2023-11-20~ |abc5-12/+13
trying to improve compability with python versions < 3.8
2023-11-19Add Response Handler to OpenaiChatHeiner Lohaus10-304/+442
Update Providers with WebDriver Add WebDriverSession helper Use native streaming in curl_cffi
2023-11-18Add AiChatOnline, ChatgptDemoAi, ChatgptNext ProvidersHeiner Lohaus200-29099/+443
Add OnlineGpt and TalkAi Provider Add get_random_string and get_random_hex helper Remove funcaptcha package
2023-11-17Improve providersHeiner Lohaus6-96/+231
2023-11-17Remove virtualdisplay and add headless modeHeiner Lohaus7-97/+32
2023-11-17Add Poe Provider, Update AItianhuSpace PorviderHeiner Lohaus5-86/+249
2023-11-16Update Liaobots.pyH Lohaus1-1/+1
2023-11-16Update MyShell.pyH Lohaus1-5/+5
2023-11-16Update Bard.pyH Lohaus1-12/+7
2023-11-16Update Phind.pyH Lohaus1-4/+11
2023-11-16Update Phind.pyH Lohaus1-5/+6
2023-11-16Update MyShell.pyH Lohaus1-2/+7
2023-11-16Update MyShell.pyH Lohaus1-10/+6
2023-11-16Update PerplexityAi.pyH Lohaus1-10/+9
2023-11-16Update helper.pyH Lohaus1-8/+8
2023-11-16Update Phind.pyH Lohaus1-9/+4
2023-11-16Update helper.pyH Lohaus1-0/+1
2023-11-16Update helper.pyH Lohaus1-1/+6
2023-11-16Fix Bard ProviderHeiner Lohaus2-79/+85
2023-11-16Fix Phind and PerplexityAi - GPT-4 ProvidersHeiner Lohaus8-393/+419
Fix MyShell Provider Refactor Provider __init__ Add ChatAnywhere Provider Update models list
2023-11-16fix: GPTalk can only use 5 times (#1255)hs_junxiang1-1/+4
2023-11-16Add back crutch of incorrect responses to ChatBaserazrab1-0/+5
2023-11-15Update OpenaiChat.pyH Lohaus1-0/+1
2023-11-13Fix Chatgpt4Online ProviderHeiner Lohaus11-45/+47
2023-11-12Add Berlin and Koala ProviderHeiner Lohaus3-0/+155
2023-11-12Add auto_continue to OpenaiChatHeiner Lohaus2-45/+70
Update readme provider tables
2023-11-11Add py_arkose_generator in OpenaiChatHeiner Lohaus1-48/+12
2023-11-07fix: no module named 'flask' (#1216)hs_junxiang1-1/+1
2023-11-04Update Bing.py - Removed unnecessary "await" statements that could potentially lead to errorsLuneye1-2/+2
2023-11-03Add exec_js helper defHeiner Lohaus1-21/+25
2023-11-03Fix NotImplementedError on WInHeiner Lohaus1-0/+10
2023-10-29Update ChatBase.py - Added jailbreak (enabled by default), Removed list incorrect responsesLuneye1-10/+14
2023-10-28Use asyncio subprocess in OpenaiChatHeiner Lohaus1-3/+10
2023-10-28Add arkose_token to OpenaiChatHeiner Lohaus178-15/+29503
2023-10-27Update config supports_message_historyHeiner Lohaus27-47/+56
2023-10-26Add Llama2 Providers / ModelsHeiner Lohaus3-9/+74
2023-10-25Extract keywords from incorrect responsesrazrab1-3/+3
The text of error responses is dynamically created by LLM. Need determine by keywords for more precise identification.
2023-10-24Indicated support of message history in GptForLove.pyLuneye1-0/+1
2023-10-24Indicated support of message history in Bing.pyLuneye1-0/+1
2023-10-24Indicated support of message history in ChatBase.pyLuneye1-1/+2
2023-10-24Indicated support of message history in FreeGpt.pyLuneye1-0/+1
2023-10-24Indicated support of message history in GPTalk.pyLuneye1-1/+2
2023-10-24Indicated support of message history in Yqcloud.pyLuneye1-0/+1
2023-10-24Indicated support of message history in You.pyLuneye1-1/+2
2023-10-24Indicated support of message history in FakeGpt.pyLuneye1-1/+2
2023-10-24Indicated support of message history in ChatForAi.pyLuneye1-1/+2
2023-10-24Indicated support of message history in ChatgptX.pyLuneye1-1/+2
2023-10-24Update MyShell.pyHeiner Lohaus1-0/+1
2023-10-24Update GetGpt provider for Debian python3-pycryptodome compatibilityrazrab1-1/+4
Try to import AES from Cryptodome.Cipher if Crypto.Cipher caused error.
2023-10-24Add support for detecting incorrect responses in ChatBase API requests.razrab1-0/+7
2023-10-24[suggestion] Adding new parameter to check if provider supports message historyLuneye1-1/+2
What are your thoughts on introducing a parameter that allows us to promptly verify whether the provider supports message history? I also considered adding a parameter to indicate whether a provider can perform web searches.
2023-10-24Update FreeGpt.pyShubh Gajjar1-2/+2
Changed older domain url with the working new url
2023-10-23Bugfix Bing.py - Resolved Issues with system prompt, Bing personalities and enabled all supported user requestsLuneye1-47/+45
I used this repository (https://github.com/waylaidwanderer/node-chatgpt-api/) as a reference to fix all the bugs related to Bing "personality." I included all the required fields in the allowedMessageTypes and optionsSets (as well as sliceIds) to allow it to respond to any requests it actually supports. Will also finish the code to fully implement the image generation functionality.
2023-10-23'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow37-358/+364
Co-authored-by: Sourcery AI <>
2023-10-22Debug logging supportHeiner Lohaus4-34/+44
Async browse access token
2023-10-22Improve get_cookies helperHeiner Lohaus2-14/+25
2023-10-22Fix ChatgptAi ProviderHeiner Lohaus2-39/+47
2023-10-22Major Update for Bing - Supports latest bundle version and image analysisLuneye1-42/+222
Here it is, a much-needed update to this service which offers numerous functionalities that the old code was unable to deliver to us. As you may know, ChatGPT Plus subscribers now have the opportunity to request image analysis directly from GPT within the chat bar. Bing has also integrated this feature into its chatbot. With this new code, you can now provide an image using a data URI, with all the following supported extensions: jpg, jpeg, png, and gif! **What is a data URI and how can I provide an image to Bing?** Just to clarify, a data URI is a method for encoding data directly into a URI (Uniform Resource Identifier). It is typically used for embedding small data objects like images, text, or other resources within web pages or documents. Data URIs are widely used in web applications. To provide an image from your desktop and retrieve it as a data URI, you can use this code: [GitHub link](https://gist.github.com/jsocol/1089733). Now, here is a code snippet you can use to provide images to Bing: ```python import g4f provider = g4f.Provider.Bing user_message = [{"role": "user", "content": "Hi, describe this image."}] response = g4f.ChatCompletion.create( model = g4f.models.gpt_4, provider = g4f.provider, # Corrected the provider value messages = user_message, stream = True, image = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4RiSRXhpZgAASUkqAAg..." # Insert your full data URI image here ) for message in response: print(message, flush=True, end='') ``` If you don't want to analyze the image, just do not specify the image parameter. Regarding the implementation, the image is preprocessed within the Bing.py code, which can be resource-intensive for a server-side implementation. When using the Bing chatbot in your web browser, the image is preprocessed on your computer before being sent to the server. This preprocessing includes tasks like image rotation and compression. Although this implementation works, it would be more efficient to delegate image preprocessing to the client as it happens in reality. I will try to provide a JavaScript code for that at a later time. As you saw, I did mention in the title that it is in Beta. The way the code is written, Bing can sometimes mess up its answers. Indeed, Bing does not really stream its responses as the other providers do. Bing sends its answers like this on each iteration: "Hi," "Hi, this," "Hi, this is," "Hi, this is Bing." Instead of sending each segment one at a time, it already adds them on each iteration. So, to simulate a normal streaming response, other contributors made the code wait for the next iteration to retrieve the newer segments and yield them. However, this method ignores something that Bing does. Bing processes its responses in a markdown detector, which searches for links while the AI answers. If it finds a link, it saves it and waits until the AI finishes its answer to put all the found links at the very end of the answer. So if the AI is writing a link, but then on the next iteration, it finishes writing this link, it will then be deleted from the answer and appear later at the very end. Example: "Here is your link reference [" "Here is your link reference [^" "Here is your link reference [^1" "Here is your link reference [^1^" And then the response would get stuck there because the markdown detector would have deleted this link reference in the next response and waited until the AI is finished to put it at the very end. For this reason, I am working on an update to anticipate the markdown detector. So please, if you guys notice any bugs with this new implementation, I would greatly appreciate it if you could report them on the issue tab of this repo. Thanks in advance, and I hope that all these explanations were clear to you!
2023-10-22Add rate limit error messagesHeiner Lohaus2-1/+6
2023-10-22Fix increase timeoutHeiner Lohaus6-54/+94
Add Hashnode Provider Fix Yqcloud Provider
2023-10-22Enable Liaobots and ChatForAi againHeiner Lohaus2-3/+3
2023-10-22Fix MyShell ProviderHeiner Lohaus9-23/+115
2023-10-22Add FakeGpt ProviderHeiner Lohaus2-0/+97
Update providers in models
2023-10-21~ | g4f `v-0.1.7.2`abc16-123/+175
patch / unpatch providers
2023-10-20~abc1-0/+3
minor changes
2023-10-19~abc1-60/+72
automatic models fetching in GUI.
2023-10-19Fix: debug.logging not work in retry providerhs_junxiang1-6/+5
2023-10-17Add timeoutostix3601-1/+6
2023-10-16~ | add `g4f.Provider.GeekGpt`abc2-1/+85
2023-10-16~ | remove non-working providersabc11-32/+107
2023-10-15Add Llama2 and NoowAi ProviderHeiner Lohaus6-7/+153
2023-10-14~abc2-13/+11
fix chatbase (bad) and remove from auto selection
2023-10-14Fix Opchatgpts and ChatForAi ProviderHeiner Lohaus10-101/+116
Deprecate Vitalentum and Aivvm Provider
2023-10-12Deprecate ChatForAiHeiner Lohaus3-5/+6
2023-10-12Add ChatgptLogin, ChatgptFree and GptChatly ProviderHeiner Lohaus10-80/+391
2023-10-12Fix: GptGo json.decoder.JSONDecodeErrorhs_junxiang1-0/+2
2023-10-11~ | g4f v-0.1.6.1abc2-2/+2
some bug fixes
2023-10-10~ | remove DeepAiabc2-83/+0
2023-10-10~ | g4f `v-0.1.5.8`0.1.5.8abc1-1/+1
2023-10-10make user agent easily changeable in deepaiCommenter1233211-2/+3
2023-10-10fix deepai :)Commenter1233211-18/+17
2023-10-10remove unused import in Bing.pyCommenter1233211-1/+0
2023-10-10Aivvm is the best provider no capCommenter1233211-3/+6
2023-10-10Some small fixesHeiner Lohaus9-35/+32
2023-10-10Update Aivvm.pyCommenter1233211-3/+3
2023-10-10~abc1-0/+62
Conversion from str Provider to g4f.Provider
2023-10-09add cool testing for gpt-3.5 and and gpt-4Commenter1233212-20/+27
2023-10-09 Add Proxy Support and Create Provider to ReadmeHeiner Lohaus7-41/+57
Add proxy support to many providers
2023-10-09Add proxy support to all providersHeiner Lohaus28-102/+144
2023-10-08Add Messages and AsyncResult typingHeiner Lohaus5-31/+42
Add system_message in Yqcloud
2023-10-08Add Cromicle to provider listHeiner Lohaus5-27/+62
2023-10-07~ | `v-0.1.5.5`abc3-5/+10
Aiivm working again
2023-10-07Remove Aivvm from working providersHeiner Lohaus3-7/+5
2023-10-07Improve code with aiHeiner Lohaus1-9/+16
2023-10-07Improve code by AIHeiner Lohaus2-25/+27
2023-10-07Add GptGod ProviderHeiner Lohaus13-28/+73
Remove timeout from aiohttp providers Disable Opchatgpts and ChatgptLogin provider
2023-10-07Add GPTalk and GptForLove ProviderHeiner Lohaus5-0/+6618
2023-10-06Fix timeout in create_asyncHeiner Lohaus9-30/+17
2023-10-06~abc1-2/+4
2023-10-06Fix: TypeError: 'type' object is not subscriptablehs_junxiang2-0/+8
2023-10-05Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus30-163/+578
and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout
2023-10-04Update Cromicle.pyHexye1-2/+2
2023-10-04Create Cromicle.pyHexye1-0/+50
2023-10-04~ | g4f v-0.1.4.8 - Fixed `g4f.Provider.Bing`abc1-8/+34
implemented new "X-Sydney-EncryptedConversationSignature" found in headers from "turing/conversation/create"
2023-10-04Sort providers in new dirsHeiner Lohaus26-61/+70
2023-10-04Use custom user dirHeiner Lohaus2-26/+16
2023-10-03Fix fetch_access_token in openaiHeiner Lohaus1-10/+16
2023-10-03Add streaming in openai chatHeiner Lohaus2-24/+75
Fetch access token with chromedriver
2023-10-02Bing Updates:Heiner Lohaus1-33/+45
Add retry create conversation Removed get_cookies fallback Add creative tone parameter
2023-10-02Add Phind ProviderHeiner Lohaus3-9/+91
Add release_curl in url_cffi requets Support create image response in Bing
2023-10-02feat: add custom header to deepaiGiancarlo-Ma1-0/+1
2023-10-02Fix: There is no current event loop in threadHeiner Lohaus4-15/+34
2023-10-02Remove fake_useragent moduleHeiner Lohaus1-4/+0
2023-10-02+Curl +Async +Stream RequestsHeiner Lohaus7-32/+33
Update Model List
2023-10-02fix typo in payloadst4rted1-2/+2
2023-10-01Change event loop policy on windowsHeiner Lohaus1-2/+9
Support more versions from curl_cffi
2023-10-01aivvm's no life creator keeps patching it, but I'm just better 😉Commenter1233211-3/+4
2023-10-01Disable Wewordle ProviderHeiner Lohaus2-9/+3
Update Ylokh Provider Improve StreamRequest
2023-10-01Disable PerplexityAi ProviderHeiner Lohaus2-2/+2
2023-10-01Update HuggingChat to new apiHeiner Lohaus8-91/+183
Impersonate Aivvm Provider Add ChatForAi and FreeGpt Provider Update AItianhuSpace Provider Improve StreamRequest Support Update get_event_loop Helper
2023-09-29Fix Aivvm and add new models in models.pyCommenter1233211-16/+15
2023-09-26Add ChatgptDuo and Aibn ProviderHeiner Lohaus7-75/+191
Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider
2023-09-26AItianhuSpace Provider with GPT 4 addedHeiner Lohaus2-15/+46
Reduced chunksize to better text completion
2023-09-26"create_async" support for BaseProvider,Heiner Lohaus3-2/+78
by using ThreadPoolExecutor Default Model for Vercel
2023-09-25Add Myshell ProviderHeiner Lohaus5-17/+181
Remove auto proxy prefix
2023-09-23Fix: Aivvm: KeyError: ''Heiner Lohaus1-3/+9
and TypeError: issubclass() arg 1 must be a class
2023-09-23 ~ | improve Vercel & g4f.Completion.createabc1-1/+1
2023-09-23~ | improve Vercel & g4f.Completion.createabc1-2/+6
added `.Completion.create` class. ```py response = g4f.Completion.create( model='text-davinci-003', prompt="Hello") print(response) ```
2023-09-23~abc1-0/+369
2023-09-23Delete g4f/Provider/Vercel.pyTekky1-387/+0
2023-09-23Improve Vercel Provider:Heiner Lohaus3-45/+62
- Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider
2023-09-23~ | Update Vercel Providerabc1-227/+307
2023-09-23~ | new providersabc2-59/+50
Somwhat fix Aivvm provider, which looks to have a working gpt-4 kinda unstable
2023-09-23~ | Fix DeepAiabc1-1/+1
2023-09-21Add RetryProviderHeiner Lohaus2-1/+86
2023-09-20Fix create_event_loop functionHeiner Lohaus3-10/+100
Add PerplexityAi Provider
2023-09-20Improve code style in async supportHeiner Lohaus1-10/+22
2023-09-20Add "create_event_loop" helperHeiner Lohaus1-9/+13
2023-09-20Add check_running_loop requirementHeiner Lohaus1-5/+18
Add create_async function in ChatCompletion Use SelectorEventLoop on windows
2023-09-20Cache "snlm0e" in BardHeiner Lohaus7-25/+42
Improve error handling in ChatgptLogin Fix async example in readme
2023-09-19~abc1-64/+2
2023-09-18Improve event loopHeiner Lohaus2-42/+44
2023-09-18Add GptGo Provider, Fix AItianhu ProviderHeiner Lohaus3-41/+98
2023-09-17~Tekky1-353/+0
2023-09-17Revert "Fix type hint"Tekky25-25/+25
2023-09-16fix typo: provider -> ProviderMIDORIBIN25-25/+25
2023-09-12Disable not working providers:Heiner Lohaus5-14/+9
EasyChat, Equing, GetGpt, Liaobots and Wuguokai No and random best provider for a model Update providers in Readme
2023-09-12Add new providers: Aivvm, Vitalentum and YlokhHeiner Lohaus7-25/+251
2023-09-10Add ChatBase ProviderHeiner Lohaus2-0/+64
2023-09-09Add CodeLinkAva Provider, Improve test_async.pyHeiner Lohaus4-2/+67
2023-09-05Fix imports in BingHeiner Lohaus1-16/+7
2023-09-05Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat ProviderHeiner Lohaus17-528/+443
2023-09-04Join the messageshs_junxiang7-29/+14
A better approach is to use the `.join()` method of strings, which reduces string concatenation operations and improves performance. Additionally, using formatted strings (f-strings) makes the code cleaner and more readable.
2023-09-03type hintsmsi-JunXiang33-45/+174
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-09-01Set working=True in Liaobots, Fix bing provider, Update readmeHeiner Lohaus4-24/+6
2023-08-28~ | v-0.0.2.6abc1-25/+25
2023-08-28Update Bing.pyLuneye1-7/+7
Fixed some errors in my previously precipitated commit.
2023-08-28Update Bing.pyLuneye1-53/+45
Added support the async function Will implement proper cookie retrieval later but Bing is working for now
2023-08-28Add async support for H2oHeiner Lohaus12-311/+461
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-27Update Bing.py Luneye1-46/+76
Removed unnecessary check that could prematurely stop the AI's response while answering
2023-08-27~ | code stylingabc30-790/+695
2023-08-25Add OpenaiChat and Hugchat ProviderHeiner Lohaus6-79/+259
Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function
2023-08-25Ails Supplementary Identification of Unusual Response Contentzengrr1-1/+1
2023-08-24Improve provider listHeiner Lohaus5-11/+11
2023-08-24remove whitspace from data: and raise exceptionBagus Indrayana1-3/+5
2023-08-23Ails throw the contents of an error responsezengrr1-0/+2
2023-08-23fix Yqcloud's prompter using only the last messagezengrr1-1/+4
2023-08-23"You" unicode decode and fix prompt just is last messagezengrr1-5/+8
2023-08-23Add create_async methodHeiner Lohaus1-19/+39
2023-08-22Improve providers with testsHeiner Lohaus6-20/+18
2023-08-22fix Equing response error with no streamzengrr1-0/+3
2023-08-22set encoding and temperaturezengrr3-5/+10
2023-08-21Fix bing providerHeiner Lohaus1-261/+203
2023-08-20change linkBagus Indrayana1-8/+9
2023-08-20fix theb but need authBagus Indrayana1-15/+72
2023-08-20update header & response easychatBagus Indrayana1-9/+30
2023-08-18Fix bard provider, add async supportHeiner Lohaus1-69/+67
2023-08-17Update Yqcloud.pyMaxKUlish11-0/+1
# specify the correct encoding forcibly
2023-08-17Update Yqcloud.pyMaxKUlish11-1/+0
2023-08-17Update Yqcloud.pyMaxKUlish11-0/+1
# specify the correct encoding forcibly
2023-08-17add providerBagus Indrayana2-1/+68
2023-08-17refactor V50 and RaycastBagus Indrayana2-85/+123
2023-08-17 ~ | major refractoring + new providers | v0.0.2.0abc4-1/+162
g4f.Provider.FastGpt & g4f.Provider.Equing gpt-3.5-turbo-0613
2023-08-17add proxy and remove streamBagus Indrayana1-1/+1
2023-08-17add v50Bagus Indrayana2-0/+44
2023-08-17~ | major refractoring | v0.0.2.0abc2-4/+4
2023-08-14refactor: refactor providerMIDORIBIN55-2095/+2317
2023-08-14small fixes & new pypi versionabc1-0/+110
2023-08-14Fix Ails.pyjohnd0e1-1/+1
Fix arguments order
2023-08-12Update EasyChat.pyomidima1-10/+9
Resolve review comments.
2023-08-11Update EasyChat.pyomidima1-1/+8
update active servers
2023-08-09Add Raycast Providerye42412-0/+51
2023-08-08Update EasyChat.pyomidima1-16/+17
Change model address and add proxy & session for pass cloudflare auth on requests.
2023-08-05Update Ails.pyVastV21-3/+5
after they update the client-v version the page is not working anymore, so I made this to get the version number automatically, this way we don't need to update the version manually.
2023-08-05Update DeepAi.pyomidima1-26/+52
2023-08-01Update __init__.pykggn1-1/+1
2023-08-01Update __init__.pykggn1-0/+1
2023-08-01Create opchatgpts.pykggn1-0/+42
2023-07-24Update Vercel.pyabc1-109/+8
2023-07-22Use the temperature parametergrandsonneo@gmail.com6-13/+13
2023-07-21Fix the import errorsnonk1231-0/+0
2023-07-19Update Provider.DfeHub to consider rate-limitnajam-tariq1-1/+9
2023-07-18Rename DFEHub.py to DfeHub.pyxtekky1-1/+1
2023-07-18.abc1-1/+1
2023-07-16minor fixesabc25-63/+101
2023-07-16minor fixesabc4-5/+4
ails, chatgptai ...
2023-07-12refactor/move provider from testing folderBagus Indrayana5-0/+364
2023-07-10Add files via uploadAlephZero2551-105/+93
Fix empty H2o output
2023-07-05some more providersnajam-tariq5-1/+169
2023-06-29fix subDomain of LockChatLê Anh Tuấn1-2/+2
2023-06-27Fix: There is no current event loop in thread.Ramon Victor Cardoso1-12/+13
2023-06-24gpt4free v2, first releasev2t.me/xtekky20-0/+1442