summaryrefslogtreecommitdiffstats
path: root/g4f (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ~ | quick fixabc2023-10-021-1/+2
|
* ~ | g4f v-`0.1.4.3`0.1.4.3abc2023-10-021-1/+1
|
* ~ | Merge pull request #968 from st4rted/patch-1Tekky2023-10-021-2/+2
|\ | | | | fix typo in payload
| * fix typo in payloadst4rted2023-10-021-2/+2
| |
* | Fix: There is no current event loop in threadHeiner Lohaus2023-10-024-15/+34
| |
* | Remove fake_useragent moduleHeiner Lohaus2023-10-021-4/+0
| |
* | +Curl +Async +Stream RequestsHeiner Lohaus2023-10-029-76/+119
| | | | | | | | Update Model List
* | Change event loop policy on windowsHeiner Lohaus2023-10-012-12/+30
| | | | | | | | Support more versions from curl_cffi
* | Disable Wewordle ProviderHeiner Lohaus2023-10-013-12/+10
| | | | | | | | | | Update Ylokh Provider Improve StreamRequest
* | Disable PerplexityAi ProviderHeiner Lohaus2023-10-012-2/+2
| |
* | Update HuggingChat to new apiHeiner Lohaus2023-10-019-100/+206
|/ | | | | | | | Impersonate Aivvm Provider Add ChatForAi and FreeGpt Provider Update AItianhuSpace Provider Improve StreamRequest Support Update get_event_loop Helper
* ~ | v-0.1.4.2 `pip install -U g4f`0.1.4.2abc2023-10-011-1/+1
|
* Merge branch 'main' of https://github.com/xtekky/gpt4freeabc2023-10-012-33/+46
|\
| * ~Tekky2023-10-011-162/+162
| |
| * some more thingsCommenter1233212023-09-291-148/+152
| |
| * Fix Aivvm and add new models in models.pyCommenter1233212023-09-292-19/+28
| |
* | ~ | pypi v-0.1.4.0 `pip install -U g4f`abc2023-10-011-1/+1
|/
* ~ | g4f v-0.1.4.0 (new version checking systemabc2023-09-271-1/+15
|
* ~ | g4f v-0.1.3.9abc2023-09-272-3/+3
|
* ~ | g4f v-0.1.3.8abc2023-09-271-1/+1
|
* fixed 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)yym686862023-09-261-1/+1
|
* ~ | v-0.1.3.7abc2023-09-261-1/+1
|
* ~ | add version (`g4f.version`)abc2023-09-261-1/+1
|
* Add ChatgptDuo and Aibn ProviderHeiner Lohaus2023-09-2610-94/+226
| | | | | | Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider
* AItianhuSpace Provider with GPT 4 addedHeiner Lohaus2023-09-263-18/+50
| | | | Reduced chunksize to better text completion
* "create_async" support for BaseProvider,Heiner Lohaus2023-09-264-2/+156
| | | | | by using ThreadPoolExecutor Default Model for Vercel
* Add Myshell ProviderHeiner Lohaus2023-09-256-22/+189
| | | | Remove auto proxy prefix
* TypeError: issubclass() arg 1 must be a classHeiner Lohaus2023-09-231-1/+2
|
* Fix: Aivvm: KeyError: ''Heiner Lohaus2023-09-232-4/+10
| | | | and TypeError: issubclass() arg 1 must be a class
* ~ | improve Vercel & g4f.Completion.createabc2023-09-231-1/+1
|
* ~ | improve Vercel & g4f.Completion.createabc2023-09-232-2/+33
| | | | | | | | | | | added `.Completion.create` class. ```py response = g4f.Completion.create( model='text-davinci-003', prompt="Hello") print(response) ```
* ~abc2023-09-231-0/+369
|
* Delete g4f/Provider/Vercel.pyTekky2023-09-231-387/+0
|
* Improve Vercel Provider:Heiner Lohaus2023-09-234-46/+63
| | | | | | | - Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider
* ~ | Update Vercel Providerabc2023-09-231-227/+307
|
* ~ | gpt-3.5-turbo-16k-0613abc2023-09-231-17/+17
|
* ~ | new providersabc2023-09-233-70/+65
| | | | | | Somwhat fix Aivvm provider, which looks to have a working gpt-4 kinda unstable
* ~ | Fix DeepAiabc2023-09-231-1/+1
|
* ~ | Merge pull request #924 from hlohaus/vercelTekky2023-09-2213-73/+325
|\ | | | | Fix async example in readme
| * Add RetryProviderHeiner Lohaus2023-09-214-16/+110
| |
| * Fix create_event_loop functionHeiner Lohaus2023-09-203-10/+100
| | | | | | | | Add PerplexityAi Provider
| * Improve code style in async supportHeiner Lohaus2023-09-201-10/+22
| |
| * Add "create_event_loop" helperHeiner Lohaus2023-09-201-9/+13
| |
| * Add check_running_loop requirementHeiner Lohaus2023-09-202-34/+69
| | | | | | | | | | Add create_async function in ChatCompletion Use SelectorEventLoop on windows
| * Cache "snlm0e" in BardHeiner Lohaus2023-09-208-26/+43
| | | | | | | | | | Improve error handling in ChatgptLogin Fix async example in readme
* | ~ | gpt-3.5-turbo-0613abc2023-09-221-144/+140
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-1/+1
| |
* | dd model config : gpt_35_turbo_0613tony2023-09-201-35/+35
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-3/+2
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-138/+141
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-1/+1
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-1/+4
| |
* | add model config : gpt_35_turbo_0613tony2023-09-201-0/+5
|/
* ~ | Merge pull request #914 from hlohaus/leshTekky2023-09-197-88/+149
|\ | | | | ~ | Add GptGo Provider, Fix AItianhu Provider
| * Check supports_stream in best_providers listHeiner Lohaus2023-09-182-5/+7
| |
| * Improve event loopHeiner Lohaus2023-09-182-42/+44
| |
| * Add GptGo Provider, Fix AItianhu ProviderHeiner Lohaus2023-09-183-41/+98
| |
| * ~Tekky2023-09-171-353/+0
| |
* | ~abc2023-09-191-64/+2
|/
* ~ | improved stability with gpt-3.5-turboabc2023-09-171-14/+21
| | | | improved stability with gpt-3.5-turbo
* ~abc2023-09-171-2/+1
|
* Merge branch 'main' of https://github.com/xtekky/gpt4freeabc2023-09-1728-29/+241
|\
| * Revert "Fix type hint"Tekky2023-09-1728-30/+241
| |
* | Update __init__.pyabc2023-09-171-2/+1
|/
* .Tekky2023-09-171-218/+0
|
* fix typo: provider -> ProviderMIDORIBIN2023-09-1625-25/+25
|
* fix type hintMIDORIBIN2023-09-163-130/+137
|
* Disable not working providers:Heiner Lohaus2023-09-127-24/+33
| | | | | | EasyChat, Equing, GetGpt, Liaobots and Wuguokai No and random best provider for a model Update providers in Readme
* Add new providers: Aivvm, Vitalentum and YlokhHeiner Lohaus2023-09-127-25/+251
|
* ~ | Merge pull request #891 from Lin-jun-xiang/fix-TypeDict-errorTekky2023-09-111-2/+8
|\ | | | | Fix: `TypedDict` from `typing` error #886
| * Fix: `TypedDict` from `typing` error #886hs_junxiang2023-09-111-2/+8
| | | | | | | | Ref: https://github.com/python/typeshed/issues/3500
* | Add ChatBase ProviderHeiner Lohaus2023-09-102-0/+64
| |
* | Add CodeLinkAva Provider, Improve test_async.pyHeiner Lohaus2023-09-094-2/+67
|/
* Fix imports in BingHeiner Lohaus2023-09-051-16/+7
|
* Add to many provider async and stream support, Fix Ails, AItianhu, ChatgptAi, ChatgptLogin Provider, Add fallback cookies to Bing, Improve OpenaiChat ProviderHeiner Lohaus2023-09-0517-528/+443
|
* ~ | Merge pull request #876 from Lin-jun-xiang/join_messagesTekky2023-09-057-29/+14
|\ | | | | ~ | Following PEP8, use `.join()` to process `messages`
| * Join the messageshs_junxiang2023-09-047-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.
* | type hintsmsi-JunXiang2023-09-0335-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
* Set working=True in Liaobots, Fix bing provider, Update readmeHeiner Lohaus2023-09-014-24/+6
|
* ~ | v-0.0.2.6abc2023-08-281-25/+25
|
* Merge branch 'main' into huggingTekky2023-08-281-28/+64
|\
| * Merge branch 'main' into patch-1Luneye2023-08-2833-969/+846
| |\
| * | Update Bing.pyLuneye2023-08-281-7/+7
| | | | | | | | | Fixed some errors in my previously precipitated commit.
| * | Update Bing.pyLuneye2023-08-281-53/+45
| | | | | | | | | | | | | | | Added support the async function Will implement proper cookie retrieval later but Bing is working for now
| * | Update Bing.py Luneye2023-08-271-46/+76
| | | | | | | | | Removed unnecessary check that could prematurely stop the AI's response while answering
* | | Add async support for H2oHeiner Lohaus2023-08-2813-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
* | ~ | code stylingabc2023-08-2733-967/+842
|/
* ~ | v-0.0.2.50.0.2.5abc2023-08-251-1/+1
|
* Merge branch 'main' into upTekky2023-08-2511-297/+516
|\
| * ~ | Merge pull request #839Tekky2023-08-252-0/+67
| |\ | | | | | | Wuguokai
| | * Merge branch 'main' of https://github.com/bagusindrayana/gpt4free into mainBagus Indrayana2023-08-2413-179/+292
| | |\
| | * | add providerBagus Indrayana2023-08-172-1/+68
| | | |
| * | | ~ | Merge pull request #838 Tekky2023-08-251-3/+5
| |\ \ \ | | | | | | | | | | fix easychat stream : remove whitspace from data: and raise exception
| | * | | remove whitspace from data: and raise exceptionBagus Indrayana2023-08-241-3/+5
| | | |/ | | |/|
| * | | ~| Merge pull request #834Tekky2023-08-253-6/+14
| |\ \ \ | | | | | | | | | | fix Yqcloud and You prompter using only the last message
| | * | | Ails Supplementary Identification of Unusual Response Contentzengrr2023-08-251-1/+1
| | | | |
| | * | | Ails throw the contents of an error responsezengrr2023-08-231-0/+2
| | | | |
| | * | | fix Yqcloud's prompter using only the last messagezengrr2023-08-231-1/+4
| | | | |
| | * | | "You" unicode decode and fix prompt just is last messagezengrr2023-08-231-5/+8
| | |/ /
| * | | Merge pull request #833 from hlohaus/bingTekky2023-08-256-288/+430
| |\ \ \ | | |/ / | |/| | Fix bing provider
| | * | Add OpenaiChat and Hugchat ProviderHeiner Lohaus2023-08-256-79/+259
| | | | | | | | | | | | | | | | | | | | | | | | Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function
| | * | Add create_async methodHeiner Lohaus2023-08-231-19/+39
| | | |
| | * | Fix bing providerHeiner Lohaus2023-08-211-261/+203
| | | |
* | | | Improve provider listHeiner Lohaus2023-08-245-11/+11
| | | |
* | | | Improve providers with testsHeiner Lohaus2023-08-226-20/+18
|/ / /
* | | ~ | Merge pull request #8290.0.2.4Tekky2023-08-221-8/+9
|\ \ \ | | | | | | | | Update link for provider ChatgptLogin
| * | | change linkBagus Indrayana2023-08-201-8/+9
| |/ /
* | | ~ | Merge pull request #828Tekky2023-08-221-15/+72
|\ \ \ | | | | | | | | fix theb but need auth
| * | | fix theb but need authBagus Indrayana2023-08-201-15/+72
| |/ /
* | | ~ | Merge pull request #827Tekky2023-08-221-9/+30
|\ \ \ | | | | | | | | update header & response easychat
| * | | update header & response easychatBagus Indrayana2023-08-201-9/+30
| |/ /
* | | fix Equing response error with no streamzengrr2023-08-221-0/+3
| | |
* | | set encoding and temperaturezengrr2023-08-223-5/+10
|/ /
* | ~ Merge pull request #816Tekky2023-08-204-74/+101
|\ \ | | | | | | add V50 Provider & refactor Raycast (need testing with auth)
| * | another mergeBagus Indrayana2023-08-175-4/+165
| |\|
| * | refactor V50 and RaycastBagus Indrayana2023-08-172-85/+123
| | |
| * | merge and refactorBagus Indrayana2023-08-17187-10896/+2439
| |\ \
| * | | add proxy and remove streamBagus Indrayana2023-08-171-1/+1
| | | |
| * | | add v50Bagus Indrayana2023-08-172-0/+44
| | | |
* | | | ~ | Merge pull request #808Tekky2023-08-201-69/+67
|\ \ \ \ | | | | | | | | | | Fix bard provider
| * | | | Fix bard provider, add async supportHeiner Lohaus2023-08-181-69/+67
| | |_|/ | |/| |
* | | | Update Yqcloud.pyMaxKUlish12023-08-171-0/+1
| | | | | | | | | | | | # specify the correct encoding forcibly
* | | | Update Yqcloud.pyMaxKUlish12023-08-171-1/+0
| | | |
* | | | Update Yqcloud.pyMaxKUlish12023-08-171-0/+1
|/ / / | | | | | | # specify the correct encoding forcibly
* | / ~ | major refractoring + new providers | v0.0.2.0abc2023-08-175-3/+164
| |/ |/| | | | | | | | | g4f.Provider.FastGpt & g4f.Provider.Equing gpt-3.5-turbo-0613
* | ~ | major refractoring | v0.0.2.0abc2023-08-175-12/+12
| |
* | refactor: refactor providerMIDORIBIN2023-08-14186-10894/+2492
|/
* ~ | small fixes & new pypi version | v-0.0.1.90.0.1.90.0.1.0abc2023-08-141-1/+1
|
* small fixes & new pypi versionabc2023-08-143-4/+113
|
* Merge pull request #801 from johnd0e/fix-ailsxtekky2023-08-141-1/+1
|\ | | | | Fix Ails.py
| * Fix Ails.pyjohnd0e2023-08-141-1/+1
| | | | | | Fix arguments order
* | Merge pull request #794 from ye4241/mainxtekky2023-08-142-0/+51
|\ \ | | | | | | Add Raycast Provider
| * | Add Raycast Providerye42412023-08-092-0/+51
| |/
* | Update EasyChat.pyomidima2023-08-121-10/+9
| | | | | | Resolve review comments.
* | Update EasyChat.pyomidima2023-08-111-1/+8
| | | | | | update active servers
* | Update EasyChat.pyomidima2023-08-081-16/+17
|/ | | Change model address and add proxy & session for pass cloudflare auth on requests.
* Merge pull request #693 from ramonvc/mainxtekky2023-08-071-12/+13
|\ | | | | Fix: There is no current event loop in thread.
| * Fix: There is no current event loop in thread.Ramon Victor Cardoso2023-06-271-12/+13
| |
* | Merge pull request #790 from VastV2/Ails-Updatextekky2023-08-071-3/+5
|\ \ | | | | | | Update Ails.py
| * | Update Ails.pyVastV22023-08-051-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.
* | | Merge pull request #788 from omidima/main-1xtekky2023-08-071-26/+52
|\ \ \ | | | | | | | | Update DeepAi.py
| * | | Update DeepAi.pyomidima2023-08-051-26/+52
| |/ /
* | | Merge pull request #784 from kggn/mainxtekky2023-08-072-0/+43
|\ \ \ | | | | | | | | Add opchatgpts.net support
| * | | Update __init__.pykggn2023-08-011-1/+1
| | | |
| * | | Update __init__.pykggn2023-08-011-0/+1
| | | |
| * | | Create opchatgpts.pykggn2023-08-011-0/+42
| |/ /
* | | Merge pull request #772 from MIDORIBIN/refactor-modelsxtekky2023-08-072-231/+243
|\ \ \ | |/ / |/| | refactor models file
| * | refactor: refactor modelsMIDORIBIN2023-07-252-231/+243
| | |
* | | Update Vercel.pyabc2023-07-241-109/+8
|/ /
* | Use the temperature parametergrandsonneo@gmail.com2023-07-226-13/+13
| |
* | Merge pull request #768 from nonk123/mainxtekky2023-07-211-0/+0
|\ \ | | | | | | Fix the import errors
| * | Fix the import errorsnonk1232023-07-211-0/+0
| | |
* | | Update Provider.DfeHub to consider rate-limitnajam-tariq2023-07-191-1/+9
|/ /
* | Merge branch 'main' of https://github.com/xtekky/gpt4freeabc2023-07-181-1/+1
|\ \
| * | Rename DFEHub.py to DfeHub.pyxtekky2023-07-181-1/+1
| | |
* | | .abc2023-07-181-1/+1
|/ /
* | pypi package (pip install `g4f`)abc2023-07-171-2/+6
| |
* | minor fixesabc2023-07-1627-64/+136
| |
* | minor fixesabc2023-07-164-5/+4
| | | | | | | | ails, chatgptai ...
* | refactor/move provider from testing folderBagus Indrayana2023-07-125-0/+364
| |
* | Add files via uploadAlephZero2552023-07-101-105/+93
| | | | | | Fix empty H2o output
* | some more providersnajam-tariq2023-07-055-1/+169
| |
* | fix subDomain of LockChatLê Anh Tuấn2023-06-291-2/+2
|/
* gpt4free v2, first releasev2t.me/xtekky2023-06-24151-0/+10302