summaryrefslogtreecommitdiffstats
path: root/g4f/models.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for all modelsHeiner Lohaus2024-01-011-8/+19
| | | | | | | | | 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
* Add Gpt6 ProviderHeiner Lohaus2023-12-251-0/+4
|
* Update models.pynullstreak2023-12-211-0/+7
|
* Remove VoiGptH Lohaus2023-12-141-5/+1
|
* Add Mistral modelsnullstreak2023-12-131-1/+16
|
* Added a new provider voigpt.com (#1328)Meshwa4282023-12-101-0/+4
| | | | | | | * added the new VoiGpt provider * fixed the voigpt and moved it to needs_auth * added auth detail and doc to voiGpt provider
* Improve docker imageHeiner Lohaus2023-12-061-0/+2
|
* Add selenium to dockerfileHeiner Lohaus2023-12-061-1/+2
| | | | | | Load model and provider list in gui Remove needs_auth in HuggingChat Add default model and login url in gui
* Update pi providerHeiner Lohaus2023-12-011-3/+2
|
* Added new provider PI (Hacky way to use) (#1291)madonchik1232023-12-011-0/+8
| | | | | | | | | * 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
* ~abc2023-11-241-1/+1
| | | | chatgptx not working
* Add AiChatOnline, ChatgptDemoAi, ChatgptNext ProvidersHeiner Lohaus2023-11-181-1/+8
| | | | | | Add OnlineGpt and TalkAi Provider Add get_random_string and get_random_hex helper Remove funcaptcha package
* Fix Bard ProviderHeiner Lohaus2023-11-161-2/+1
|
* Fix Phind and PerplexityAi - GPT-4 ProvidersHeiner Lohaus2023-11-161-9/+16
| | | | | | | Fix MyShell Provider Refactor Provider __init__ Add ChatAnywhere Provider Update models list
* Fix Chatgpt4Online ProviderHeiner Lohaus2023-11-131-3/+1
|
* Add Berlin and Koala ProviderHeiner Lohaus2023-11-121-5/+5
|
* Add auto_continue to OpenaiChatHeiner Lohaus2023-11-121-1/+1
| | | | Update readme provider tables
* Add llama2 model mappingHeiner Lohaus2023-10-261-0/+5
|
* Add Llama2 Providers / ModelsHeiner Lohaus2023-10-261-0/+17
|
* Fix MyShell ProviderHeiner Lohaus2023-10-221-7/+0
|
* Add FakeGpt ProviderHeiner Lohaus2023-10-221-15/+11
| | | | Update providers in models
* ~ | g4f `v-0.1.7.2`abc2023-10-211-1/+2
| | | | patch / unpatch providers
* ~abc2023-10-201-3/+4
| | | | minor changes
* ~ | updated g4f.apiabc2023-10-201-1/+1
| | | | new api and requirements
* ~abc2023-10-191-5/+6
| | | | fix gui errors on iOS
* ~ | g4f `v-0.1.6.8`0.1.6.8abc2023-10-191-2/+2
| | | | some quick fixes
* ~abc2023-10-191-3/+15
| | | | automatic models fetching in GUI.
* ~ | update working providers list & gpt-4 providersabc2023-10-161-5/+8
|
* Add Llama2 and NoowAi ProviderHeiner Lohaus2023-10-151-1/+3
|
* ~ | Merge pull request #1068 from hlohaus/freTekky2023-10-141-5/+5
|\ | | | | Fix Opchatgpts and ChatForAi Provider
| * Fix Opchatgpts and ChatForAi ProviderHeiner Lohaus2023-10-141-5/+5
| | | | | | | | Deprecate Vitalentum and Aivvm Provider
* | ~abc2023-10-141-2/+0
|/ | | | fix chatbase (bad) and remove from auto selection
* ~ | g4f v-0.1.6.1abc2023-10-111-8/+7
| | | | some bug fixes
* ~ | remove DeepAiabc2023-10-101-3/+2
|
* fix provider thing in gui x2Commenter1233212023-10-101-7/+14
|
* ~abc2023-10-101-6/+7
| | | | remove chatforai
* Add Cromicle to provider listHeiner Lohaus2023-10-081-1/+4
|
* Remove Aivvm from working providersHeiner Lohaus2023-10-071-14/+10
|
* ~ | gpt-3.5-turbo-0613abc2023-10-061-0/+1
|
* ~ | fix gpt-3.5-turbo modelsabc2023-10-061-5/+4
|
* import fixedostix3602023-10-051-1/+3
|
* Merge branch 'main' into bomTekky2023-10-051-1/+2
|\
| * Update models.pyHexye2023-10-041-1/+2
| |
* | Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus2023-10-051-12/+19
|/ | | | | | and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout
* Sort providers in new dirsHeiner Lohaus2023-10-041-3/+1
|
* +Curl +Async +Stream RequestsHeiner Lohaus2023-10-021-3/+6
| | | | Update Model List
* ~Tekky2023-10-011-162/+162
|
* some more thingsCommenter1233212023-09-291-148/+152
|
* Fix Aivvm and add new models in models.pyCommenter1233212023-09-291-3/+13
|
* Add ChatgptDuo and Aibn ProviderHeiner Lohaus2023-09-261-3/+6
| | | | | | 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-261-3/+4
| | | | Reduced chunksize to better text completion
* Add Myshell ProviderHeiner Lohaus2023-09-251-5/+8
| | | | Remove auto proxy prefix
* Fix: Aivvm: KeyError: ''Heiner Lohaus2023-09-231-1/+1
| | | | and TypeError: issubclass() arg 1 must be a class
* ~ | gpt-3.5-turbo-16k-0613abc2023-09-231-17/+17
|
* ~ | new providersabc2023-09-231-11/+15
| | | | | | Somwhat fix Aivvm provider, which looks to have a working gpt-4 kinda unstable
* ~ | Merge pull request #924 from hlohaus/vercelTekky2023-09-221-8/+23
|\ | | | | Fix async example in readme
| * Add RetryProviderHeiner Lohaus2023-09-211-7/+22
| |
| * Cache "snlm0e" in BardHeiner Lohaus2023-09-201-1/+1
| | | | | | | | | | 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
|/
* Check supports_stream in best_providers listHeiner Lohaus2023-09-181-2/+1
|
* ~ | improved stability with gpt-3.5-turboabc2023-09-171-14/+21
| | | | improved stability with gpt-3.5-turbo
* Revert "Fix type hint"Tekky2023-09-171-0/+212
|
* .Tekky2023-09-171-218/+0
|
* fix type hintMIDORIBIN2023-09-161-126/+132
|
* Disable not working providers:Heiner Lohaus2023-09-121-8/+13
| | | | | | EasyChat, Equing, GetGpt, Liaobots and Wuguokai No and random best provider for a model Update providers in Readme
* type hintsmsi-JunXiang2023-09-031-0/+1
| | | | | | | | | | 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
* Add async support for H2oHeiner Lohaus2023-08-281-0/+7
| | | | | | | | | | | | | 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-271-148/+122
|
* ~ | major refractoring + new providers | v0.0.2.0abc2023-08-171-2/+2
| | | | | | g4f.Provider.FastGpt & g4f.Provider.Equing gpt-3.5-turbo-0613
* ~ | major refractoring | v0.0.2.0abc2023-08-171-1/+1
|
* refactor: refactor providerMIDORIBIN2023-08-141-139/+121
|
* small fixes & new pypi versionabc2023-08-141-3/+2
|
* refactor: refactor modelsMIDORIBIN2023-07-251-228/+240
|
* minor fixesabc2023-07-161-0/+31
|
* gpt4free v2, first releasev2t.me/xtekky2023-06-241-0/+201