summaryrefslogtreecommitdiffstats
path: root/g4f (unfollow)
Commit message (Collapse)AuthorFilesLines
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 Lohaus3-81/+86
2023-11-16Fix Phind and PerplexityAi - GPT-4 ProvidersHeiner Lohaus9-402/+435
Fix MyShell Provider Refactor Provider __init__ Add ChatAnywhere Provider Update models list
2023-11-15Update OpenaiChat.pyH Lohaus1-0/+1
2023-11-13Check_pypi_version now returns valueEikosa1-0/+2
2023-11-13Fix Chatgpt4Online ProviderHeiner Lohaus12-48/+48
2023-11-13Added back list_ignored_providers parameter to ChatCompletion.create method in api.razrab1-1/+5
2023-11-13Refactor item_data update to handle byte keys and convert messages to dict.razrab1-2/+11
2023-11-12Add Berlin and Koala ProviderHeiner Lohaus4-5/+160
2023-11-12~ | g4f `v-0.1.8.2`0.1.8.2abc1-1/+1
2023-11-12Add auto_continue to OpenaiChatHeiner Lohaus3-46/+71
Update readme provider tables
2023-11-11Add py_arkose_generator in OpenaiChatHeiner Lohaus1-48/+12
2023-11-08Remove height restrictionpakmmc1-7/+1
Currently has blank black space at the bottom of the screen on 13" devices
2023-11-07~ | g4f `v-0.1.8.1`0.1.8.1abc1-1/+1
2023-11-07fix: api streaming TypeError: Object of type generator is not JSON serializableGiancarlo-Ma1-1/+2
2023-11-07fix: no module named 'flask' (#1216)hs_junxiang1-1/+1
2023-11-05~ | g4f `v-0.1.8.0`abc1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update cli.pyThatLukinhasGuy1-1/+1
2023-11-04Update cli.pyThatLukinhasGuy1-2/+1
2023-11-04Update run.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-04Update cli.pyThatLukinhasGuy1-5/+1
2023-11-04Update run.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-143/+138
2023-11-04Update run.pyThatLukinhasGuy1-1/+1
2023-11-04Update __init__.pyThatLukinhasGuy1-2/+2
2023-11-04Update __init__.py (#1)ThatLukinhasGuy1-2/+2
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-11-02Update __init__.pyThatLukinhasGuy1-1/+1
2023-11-02Update __init__.pyThatLukinhasGuy1-1/+0
2023-11-02Update run.pyThatLukinhasGuy1-1/+1
2023-11-02Update __init__.pyThatLukinhasGuy1-200/+141
2023-10-31~ | g4f `v-0.1.7.9`0.1.7.9xtekky1-1/+1
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-28Update backend.py, index.html, requirements.txt (#1180)hdsz252-6/+6
* Update backend.py change to the model that received from user interactive from the web interface model selection. * Update index.html added Llama2 as a provider selection and also include the model selection for Llama2: llama2-70b, llama2-13b, llama2-7b * Update requirements.txt add asgiref to enable async for Flask in api. "RuntimeError: Install Flask with the 'async' extra in order to use async views"
2023-10-28Add arkose_token to OpenaiChatHeiner Lohaus178-15/+29503
2023-10-27Update config supports_message_historyHeiner Lohaus27-47/+56
2023-10-27added contextunknown3-50/+83
2023-10-27~ | g4f `v-0.1.7.8`abc1-1/+1
2023-10-27add api proxycatmeowjiao1-3/+19
2023-10-26Add llama2 model mappingHeiner Lohaus1-0/+5
2023-10-26Add Llama2 Providers / ModelsHeiner Lohaus4-9/+91
2023-10-26add proxy supportcatmeowjiao1-8/+29
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-24~ | g4f `v-0.1.7.7`0.1.7.7abc1-1/+1
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-23~ | g4f `v-0.1.7.6`0.1.7.6abc1-1/+1
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-23Debug config in apiHeiner Lohaus1-1/+1
2023-10-23Refactor API initialization to accept a list of ignored providers.razrab2-5/+24
2023-10-23'Refactored by Sourcery' (#1125)ⲘrṨhส∂ow44-401/+398
Co-authored-by: Sourcery AI <>
2023-10-23~ | g4f `v-0.1.7.5`abc1-2/+2
2023-10-22Debug logging supportHeiner Lohaus5-37/+46
Async browse access token
2023-10-22Improve get_cookies helperHeiner Lohaus2-14/+25
2023-10-22~ | g4f `v-0.1.7.4`abc1-1/+1
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 Lohaus10-30/+115
2023-10-22Add FakeGpt ProviderHeiner Lohaus3-15/+108
Update providers in models
2023-10-21fix bug - Cannot assign requested addresslate2-2/+2
2023-10-21 ~ | g4f `v-0.1.7.2`0.1.7.2abc1-1/+1
fix tiktok not found error
2023-10-21~ | g4f `v-0.1.7.2`abc18-129/+184
patch / unpatch providers
2023-10-20~ | g4f v-0.1.7.0abc1-1/+1
quick fix
2023-10-20~ | 0.1.7.0abc2-3/+4
2023-10-20~ | g4f v-0.1.6.9abc1-1/+1
2023-10-20~abc4-4/+9
minor changes
2023-10-20~ | quick fixabc1-1/+1
2023-10-20~ | updated g4f.apiabc5-154/+240
new api and requirements
2023-10-19~abc5-44/+101
fix gui errors on iOS
2023-10-19~ | g4f `v-0.1.6.8`0.1.6.8abc4-10/+15
some quick fixes
2023-10-19~ | g4f v-0.1.6.70.1.6.7abc1-1/+1
2023-10-19~abc6-151/+163
automatic models fetching in GUI.
2023-10-19~abc1-0/+7
2023-10-19Fix: debug.logging not work in retry providerhs_junxiang2-6/+6
2023-10-17Add timeoutostix3601-1/+6
2023-10-16~ | g4f `v-0.1.6.6`0.1.6.6abc1-1/+1
2023-10-16~ | update working providers list & gpt-4 providersabc1-5/+8
2023-10-16~ | add `g4f.Provider.GeekGpt`abc2-1/+85
2023-10-16~ | g4f `v-0.1.6.5`abc1-1/+1
2023-10-16~ | remove non-working providersabc11-32/+107
2023-10-15Add Llama2 and NoowAi ProviderHeiner Lohaus7-8/+156
2023-10-14~ | g4f `v-0.1.6.4`abc1-1/+1
2023-10-14~abc3-15/+11
fix chatbase (bad) and remove from auto selection
2023-10-14Fix Opchatgpts and ChatForAi ProviderHeiner Lohaus11-106/+121
Deprecate Vitalentum and Aivvm Provider
2023-10-13g4f `v-0.1.6.3`abc1-1/+1
2023-10-13fix: remove typo in readme and configsEzra Adeyinka1-1/+1
2023-10-13feat: ignore providers(#1014)hs_junxiang1-8/+19
2023-10-12Deprecate ChatForAiHeiner Lohaus3-5/+6
2023-10-12Add ChatgptLogin, ChatgptFree and GptChatly ProviderHeiner Lohaus10-80/+391
2023-10-12~ | g4f `v-0.1.6.2`0.6.1.2abc1-12/+8
2023-10-12~abc1-1/+1
2023-10-12~abc1-63/+63
2023-10-12Fix: GptGo json.decoder.JSONDecodeErrorhs_junxiang1-0/+2
2023-10-12Unify g4f tools into one CLIArran Hobson Sayers7-111/+213
2023-10-11~ | g4f v-0.1.6.1abc4-11/+10
some bug fixes
2023-10-11Fix: TypeError: unsupported operand type(s) for |:...hs_junxiang2-0/+5
2023-10-11fix typo in backend.pyIkko Eltociear Ashimine1-1/+1
occured -> occurred
2023-10-10~ | g4f `v-0.1.5.9`(remove deepai.org)abc1-1/+1
2023-10-10~ | remove DeepAiabc4-87/+2
2023-10-10~ | g4f `v-0.1.5.8`0.1.5.8abc4-14/+6
2023-10-10fix htmlCommenter1233211-1/+1
2023-10-10whatCommenter1233211-3/+3
2023-10-10change discord icon to telegram icon on guiCommenter1233212-2/+2
2023-10-10make user agent easily changeable in deepaiCommenter1233211-2/+3
2023-10-10fix deepai :)Commenter1233211-18/+17
2023-10-10fix provider thing in gui x2Commenter1233214-17/+23
2023-10-10fix provider thing in guiCommenter1233211-1/+1
2023-10-10remove unused import in Bing.pyCommenter1233211-1/+0
2023-10-10make internet searching betterCommenter1233212-11/+41
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~ | g4f `v-0.1.5.7` [Set Provider in GUI] + Provider Proxyabc4-144/+165
2023-10-10~abc1-1/+15
Command line arguments for GUI
2023-10-10~abc2-7/+29
New system for str to Provider
2023-10-10~abc1-6/+7
remove chatforai
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-4Commenter1233213-26/+41
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 Lohaus29-113/+162
2023-10-08~ | g4f `v-0.1.5.6`abc4-14/+24
gui & interference can now be run with: python -m g4f.gui.run and python -m g4f.interference.run
2023-10-08Add Messages and AsyncResult typingHeiner Lohaus6-32/+45
Add system_message in Yqcloud
2023-10-08Add Cromicle to provider listHeiner Lohaus6-28/+66
2023-10-07~ | `v-0.1.5.5`abc4-6/+10
Aiivm working again
2023-10-07~ | g4f `v-0.1.5.5`0.1.5.5abc1-1/+1
2023-10-07Remove Aivvm from working providersHeiner Lohaus4-21/+15
2023-10-07Improve code with aiHeiner Lohaus2-22/+32
2023-10-07 ~ | g4f `v-0.1.5.4` [new gui & interference]abc1-4/+0
2023-10-07~abc1-0/+4
2023-10-07Improve code by AIHeiner Lohaus4-102/+103
2023-10-07Add GptGod ProviderHeiner Lohaus14-29/+73
Remove timeout from aiohttp providers Disable Opchatgpts and ChatgptLogin provider
2023-10-07Add GPTalk and GptForLove ProviderHeiner Lohaus5-0/+6618
2023-10-06 ~ | g4f `v-0.1.5.4` [new gui & interference]0.1.5.4abc1-1/+1
+ version fix
2023-10-06~ | g4f `v-0.1.5.3` [new gui & interference]0.1.5.3abc1-1/+1
2023-10-06 ~ | new instructions for gui & interference + telegram channelabc1-1/+1
2023-10-06 ~ | g4f `v-0.1.5.1` [*new gui & interference*]abc1-1/+0
2023-10-06~ | g4f `v-0.1.5.1` [*new gui & interference**]abc1-1/+1
2023-10-06~ | gpt-3.5-turbo-0613abc1-0/+1
2023-10-06~ | new interferenceabc1-0/+94
2023-10-06~ | new g4f GUIabc20-0/+1880
2023-10-06Fix timeout in create_asyncHeiner Lohaus9-30/+17
2023-10-06~ | g4f v-0.1.5.0abc1-1/+1
2023-10-06~abc1-2/+4
2023-10-06~ | fix gpt-3.5-turbo modelsabc1-5/+4
2023-10-06Fix: TypeError: 'type' object is not subscriptablehs_junxiang2-0/+8
2023-10-05import fixedostix3601-1/+3
2023-10-05~ | g4f v-0.1.4.9 [major updates and patches]0.1.4.9abc1-1/+1
2023-10-05Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus33-177/+603
and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout
2023-10-04Update models.pyHexye1-1/+2
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`abc2-9/+35
implemented new "X-Sydney-EncryptedConversationSignature" found in headers from "turing/conversation/create"
2023-10-04~ | g4f v-0.1.4.7 `pip install -U g4f`0.1.4.7abc1-1/+1
2023-10-04Sort providers in new dirsHeiner Lohaus27-64/+71
2023-10-04Use custom user dirHeiner Lohaus2-26/+16
2023-10-03Fix fetch_access_token in openaiHeiner Lohaus1-10/+16
2023-10-03 ~ | g4f v-0.1.4.6 `pip install -U g4f`0.1.4.6abc1-1/+1
2023-10-03 ~ | g4f v-0.1.4.5 `pip install -U g4f`abc1-1/+1
updated providers: - g4f.Provider.Bing - g4f.Provider.OpenaiChat
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-02~ | g4f v-0.1.4.5 `pip install -U g4f`0.1.4.5abc1-1/+1
2023-10-02Add Phind ProviderHeiner Lohaus4-13/+108
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-02~ | g4f v-0.1.4.4abc2-2/+3
release_curl bug
2023-10-02~ | quick fixabc1-1/+2
2023-10-02~ | g4f v-`0.1.4.3`0.1.4.3abc1-1/+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 Lohaus9-76/+119
Update Model List
2023-10-02fix typo in payloadst4rted1-2/+2
2023-10-01Change event loop policy on windowsHeiner Lohaus2-12/+30
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 Lohaus3-12/+10
Update Ylokh Provider Improve StreamRequest
2023-10-01Disable PerplexityAi ProviderHeiner Lohaus2-2/+2
2023-10-01Update HuggingChat to new apiHeiner Lohaus9-100/+206
Impersonate Aivvm Provider Add ChatForAi and FreeGpt Provider Update AItianhuSpace Provider Improve StreamRequest Support Update get_event_loop Helper
2023-10-01~ | v-0.1.4.2 `pip install -U g4f`0.1.4.2abc1-1/+1
2023-10-01~ | pypi v-0.1.4.0 `pip install -U g4f`abc1-1/+1
2023-10-01~Tekky1-162/+162
2023-09-29some more thingsCommenter1233211-148/+152
2023-09-29Fix Aivvm and add new models in models.pyCommenter1233212-19/+28
2023-09-27~ | g4f v-0.1.4.0 (new version checking systemabc1-1/+15
2023-09-27~ | g4f v-0.1.3.9abc2-3/+3
2023-09-27~ | g4f v-0.1.3.8abc1-1/+1
2023-09-26fixed bug: ImportError: cannot import name 'Request' from 'curl_cffi.requests.cookies' (/Users/yanyuming/opt/anaconda3/envs/chatgpt/lib/python3.11/site-packages/curl_cffi/requests/cookies.py)yym686861-1/+1
2023-09-26~ | v-0.1.3.7abc1-1/+1
2023-09-26~ | add version (`g4f.version`)abc1-1/+1
2023-09-26Add ChatgptDuo and Aibn ProviderHeiner Lohaus10-94/+226
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 Lohaus3-18/+50
Reduced chunksize to better text completion
2023-09-26"create_async" support for BaseProvider,Heiner Lohaus4-2/+156
by using ThreadPoolExecutor Default Model for Vercel
2023-09-25Add Myshell ProviderHeiner Lohaus6-22/+189
Remove auto proxy prefix
2023-09-23TypeError: issubclass() arg 1 must be a classHeiner Lohaus1-1/+2
2023-09-23Fix: Aivvm: KeyError: ''Heiner Lohaus2-4/+10
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.createabc2-2/+33
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 Lohaus4-46/+63
- Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider
2023-09-23~ | Update Vercel Providerabc1-227/+307
2023-09-23~ | gpt-3.5-turbo-16k-0613abc1-17/+17
2023-09-23~ | new providersabc3-70/+65
Somwhat fix Aivvm provider, which looks to have a working gpt-4 kinda unstable
2023-09-23~ | Fix DeepAiabc1-1/+1
2023-09-22~ | gpt-3.5-turbo-0613abc1-144/+140
2023-09-21Add RetryProviderHeiner Lohaus4-16/+110
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 Lohaus2-34/+69
Add create_async function in ChatCompletion Use SelectorEventLoop on windows
2023-09-20Cache "snlm0e" in BardHeiner Lohaus8-26/+43
Improve error handling in ChatgptLogin Fix async example in readme
2023-09-20add model config : gpt_35_turbo_0613tony1-1/+1
2023-09-20dd model config : gpt_35_turbo_0613tony1-35/+35
2023-09-20add model config : gpt_35_turbo_0613tony1-3/+2
2023-09-20add model config : gpt_35_turbo_0613tony1-138/+141
2023-09-20add model config : gpt_35_turbo_0613tony1-1/+1
2023-09-20add model config : gpt_35_turbo_0613tony1-1/+4
2023-09-20add model config : gpt_35_turbo_0613tony1-0/+5
2023-09-19~abc1-64/+2
2023-09-18Check supports_stream in best_providers listHeiner Lohaus2-5/+7
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-17~ | improved stability with gpt-3.5-turboabc1-14/+21
improved stability with gpt-3.5-turbo
2023-09-17~abc1-2/+1
2023-09-17Update __init__.pyabc1-2/+1
2023-09-17Revert "Fix type hint"Tekky28-30/+241
2023-09-17.Tekky1-218/+0
2023-09-16fix typo: provider -> ProviderMIDORIBIN25-25/+25
2023-09-16fix type hintMIDORIBIN3-130/+137
2023-09-12Disable not working providers:Heiner Lohaus7-24/+33
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-11Fix: `TypedDict` from `typing` error #886hs_junxiang1-2/+8
Ref: https://github.com/python/typeshed/issues/3500
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-JunXiang35-45/+176
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 Lohaus13-311/+468
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 stylingabc33-967/+842
2023-08-25 ~ | v-0.0.2.50.0.2.5abc1-1/+1
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.0abc5-3/+164
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.0abc5-12/+12
2023-08-14refactor: refactor providerMIDORIBIN186-10894/+2492
2023-08-14~ | small fixes & new pypi version | v-0.0.1.90.0.1.90.0.1.0abc1-1/+1
2023-08-14small fixes & new pypi versionabc3-4/+113
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-25refactor: refactor modelsMIDORIBIN2-231/+243
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-17pypi package (pip install `g4f`)abc1-2/+6
2023-07-16minor fixesabc27-64/+136
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/xtekky151-0/+10302