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