summaryrefslogtreecommitdiffstats
path: root/g4f/models.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix api streaming, fix AsyncClient (#2357)0.3.4.0H Lohaus7 days1-156/+31
| | | | | | | | | | * Fix api streaming, fix AsyncClient, Improve Client class, Some providers fixes, Update models list, Fix some tests, Update model list in Airforce provid er, Add OpenAi image generation url to api, Fix reload and debug in api arguments, Fix websearch in gui * Fix Cloadflare and Pi and AmigoChat provider * Fix conversation support in DDG provider, Add cloudflare bypass with nodriver * Fix unittests without curl_cffi
* minor improvements for release0.3.3.4Tekky8 days1-174/+172
|
* Ai4Chat not workingTekky8 days1-1/+2
|
* Update models.pyTekky8 days1-1/+1
| | | | Liaobots and Darkai do not work for gpt-3.5-turbo
* Update (g4f/models.py)kqlio6710 days1-1/+3
|
* Update (g4f/models.py g4f/Provider/PerplexityLabs.py)kqlio6711 days1-1/+1
|
* Update (g4f/models.py g4f/Provider/ReplicateHome.py)kqlio6711 days1-16/+2
|
* Update (g4f/models.py g4f/Provider/PerplexityLabs.py)kqlio6711 days1-1/+1
|
* feat(g4f/Provider/HuggingChat.py: Enhance HuggingChat provider functionalitykqlio6711 days1-0/+10
|
* Removed provider (g4f/Provider/ChatifyAI.py)kqlio6712 days1-2/+0
|
* Removed provider (g4f/Provider/AiMathGPT.py)kqlio6712 days1-3/+1
|
* Update (g4f/models.py g4f/Provider/airforce/AirforceChat.py docs/providers-and-models.md)kqlio6712 days1-13/+1
|
* Update (g4f/models.py g4f/Provider/Cloudflare.py)kqlio6712 days1-30/+1
|
* Update (g4f/models.py g4f/Provider/airforce/AirforceChat.py docs/providers-and-models.md)kqlio6714 days1-202/+42
|
* Update (g4f/models.py g4f/Provider/airforce/ g4f/Provider/Airforce.py)kqlio672024-11-081-0/+8
|
* Update (g4f/models.py g4f/Provider/ docs/providers-and-models.md)kqlio672024-11-061-107/+5
|
* Update (g4f/models.py g4f/Provider/ docs/providers-and-models.md)kqlio672024-11-061-90/+33
|
* Update (docs/providers-and-models.md g4f/models.py g4f/gui/client/index.html g4f/Provider/Cloudflare.py)kqlio672024-11-061-36/+22
|
* The provider is disconnected due to a Cloudflare issue. (g4f/Provider/ChatgptFree.py)kqlio672024-11-051-2/+1
|
* Provider removed (g4f/Provider/ChatHub.py)kqlio672024-11-051-13/+3
|
* Update (g4f/models.py g4f/Provider/ChatGpt.py)kqlio672024-11-041-4/+4
|
* Update (g4f/models.py)kqlio672024-11-041-1/+1
|
* Update (docs/providers-and-models.md g4f/models.py g4f/Provider/GizAI.py)kqlio672024-11-041-19/+11
|
* Disconnected provider (g4f/Provider/AmigoChat.py)kqlio672024-11-021-12/+10
|
* Update (g4f/Provider/AIUncensored.py)kqlio672024-11-011-1/+3
|
* Update (g4f/Provider/Airforce.py)kqlio672024-11-011-107/+132
|
* The prefix function has been removedkqlio672024-10-301-42/+0
|
* feat(g4f/models.py): add versioning support for model retrievalkqlio672024-10-301-0/+42
|
* Update (g4f/models.py)kqlio672024-10-301-1/+1
|
* Update (docs/providers-and-models.md g4f/models.py g4f/Provider/nexra/)kqlio672024-10-271-5/+2
|
* feat(g4f/models.py): add new provider GizAI and update best providerskqlio672024-10-261-15/+27
|
* Updated docs/providers-and-models.md g4f/models.py g4f/Provider/Upstage.pykqlio672024-10-221-1/+1
|
* Updated docs/providers-and-models.md g4f/models.pykqlio672024-10-221-1/+1
|
* Restored provider (g4f/Provider/nexra/NexraSDLora.py)kqlio672024-10-221-1/+10
|
* Restored provider (g4f/Provider/nexra/NexraSDTurbo.py)kqlio672024-10-221-1/+10
|
* Restored provider (g4f/Provider/nexra/NexraSD15.py)kqlio672024-10-221-0/+9
|
* Updated (g4f/models.py)kqlio672024-10-221-0/+12
|
* Updated (g4f/models.py)kqlio672024-10-221-11/+0
|
* Updated (g4f/models.py)kqlio672024-10-211-2/+3
|
* Restored provider (g4f/Provider/nexra/NexraBing.py)kqlio672024-10-211-1/+2
|
* Update (main.py g4f/models.py)kqlio672024-10-211-2/+1
|
* 1kqlio672024-10-211-1/+2
|
* Temporarily disconnected provider (g4f/Provider/nexra/NexraBlackbox.py)kqlio672024-10-201-2/+1
|
* Restore the provider (g4f/Provider/nexra/NexraBlackbox.py)kqlio672024-10-201-2/+3
|
* update g4f/models.py g4f/Provider/Ai4Chat.py g4f/Provider/Chatgpt4Online.pykqlio672024-10-201-2/+1
|
* Update (g4f/models.py)kqlio672024-10-201-1/+1
|
* refactor(g4f/Provider/Airforce.py): update image generation prompt and modelskqlio672024-10-201-8/+0
|
* Added new provider (g4f/Provider/Ai4Chat.py)kqlio672024-10-171-1/+5
|
* Added new provider (g4f/Provider/RubiksAI.py)kqlio672024-10-171-2/+3
|
* Added new provider (g4f/Provider/Editee.py)kqlio672024-10-161-3/+11
|
* Added new provider (g4f/Provider/AiMathGPT.py)kqlio672024-10-161-1/+2
|
* feat(g4f/Provider/HuggingChat.py): add new model support for Nemotronkqlio672024-10-161-0/+11
|
* feat(g4f/models.py): update model configurations and providerskqlio672024-10-151-1/+2
|
* chore: temporarily disable some new providerskqlio672024-10-121-193/+43
|
* feat(g4f/models.py): Added new model 'ChatifyAI' and 'Cloudflare' to the default model's best provider list for broader provider options.kqlio672024-10-111-0/+2
|
* feat(g4f/models.py): add new providers and models, enhance existing configurationskqlio672024-10-111-54/+262
|
* feat(g4f/models.py): enhance llama_3_1_405b with Blackbox providerkqlio672024-10-031-1/+1
|
* feat(g4f/models.py): enhance and update model configurationskqlio672024-10-021-60/+120
|
* feat(g4f/Provider/Nexra.py): enhance model handling and add new providerskqlio672024-09-291-16/+16
|
* Updated docs/providers-and-models.md g4f/models.pykqlio672024-09-271-4/+4
|
* Update g4f/models.py. Fix g4f/Provider/GPROChat.pykqlio672024-09-271-1/+2
|
* New provider added ChatHubkqlio672024-09-271-27/+50
|
* Updated g4f/models.py g4f/Provider/Liaobots.py g4f/Provider/__init__.py g4f/Provider/DeepInfraChat.pykqlio672024-09-261-22/+3
|
* Updated g4f/models.py g4f/Provider/HuggingChat.pykqlio672024-09-261-1/+1
|
* feat(g4f/Provider/HuggingChat.py): update model list and aliaseskqlio672024-09-251-8/+21
|
* feat(g4f/Provider/HuggingChat.): add Qwen2.5-72B model and aliaskqlio672024-09-251-1/+1
|
* Resolved merge conflictskqlio672024-09-241-108/+278
|
* update ...abc2024-09-191-2/+3
|
* refactor(ReplicateHome): update model handling and API interactionkqlio672024-09-151-0/+19
|
* Updated g4f/models.pykqlio672024-09-131-0/+8
|
* feat(providers): unify Rocks and FluxAirforce into Airforce providerkqlio672024-09-131-40/+140
|
* Updated g4f/models.pykqlio672024-09-121-2/+4
|
* new model addedkqlio672024-09-121-0/+9
|
* Updated g4f/models.pykqlio672024-09-121-1/+1
|
* refactor(models): update HuggingChat, HuggingFace provider models and aliaseskqlio672024-09-121-11/+0
|
* refactor(g4f/Provider/HuggingFace.py, g4f/Provider/HuggingChat.py): update provider models and aliaseskqlio672024-09-121-1/+1
|
* Updated g4f/models.pykqlio672024-09-111-13/+11
|
* g4f/models.py g4f/Provider/MagickPen.pykqlio672024-09-071-0/+1
|
* Updated g4f/Provider/MagickPen.pykqlio672024-09-071-8/+3
|
* Adding a new provider Free2GPTkqlio672024-09-061-1/+3
|
* Adding a new provider Binjiekqlio672024-09-061-1/+3
|
* Updated g4f/models.py g4f/Provider/CodeNews.py g4f/Provider/FreeChatgpt.pykqlio672024-09-061-10/+10
|
* Updated g4f/models.py g4f/Provider/__init__.py g4f/Provider/FreeChatgpt.pykqlio672024-09-061-7/+24
|
* Adding a new provider with support for modelskqlio672024-09-061-2/+11
|
* Updated g4f/models.pykqlio672024-09-051-0/+1
|
* feat(Nexra): add image generation supportkqlio672024-09-041-0/+27
|
* Adding new providers AiChats.py Nexra.py Snova.pykqlio672024-09-041-9/+67
|
* New TwitterBio provider with support for gpt-3.5-turbo and mixtral-8x7b modelskqlio672024-09-021-10/+11
|
* Update models.py: Refine provider list and model supportkqlio672024-09-021-3/+5
|
* Update models and providers per community feedbackkqlio672024-09-011-1/+0
|
* Comprehensive Updates and Enhancements Across Multiple Providerskqlio672024-08-311-264/+215
|
* update huggingface provider0.3.2.4abc2024-08-161-0/+3
|
* Added new providers TeachAnything MagickPenAsk MagickPenChatkqlio672024-08-011-4/+6
|
* Adding a new FreeNetfly providerkqlio672024-07-301-1/+2
|
* Adding a new LiteIcoding providerkqlio672024-07-291-56/+46
|
* Updates, improvements, corrections of models.py and index.html errorskqlio672024-07-291-168/+134
|
* Added Marsyoo provider with support for the gpt-4o model. Updating models.pykqlio672024-07-281-1/+2
|
* Fixed a bug in the Liaobots providerkqlio672024-07-281-81/+82
|
* Fixed error g4f/models.pykqlio672024-07-271-3/+1
|
* Fixed error g4f/models.pykqlio672024-07-271-2/+4
|
* Update g4f/models.py g4f/Provider/needs_auth/OpenaiChat.pykqlio672024-07-271-2/+0
|
* Comprehensive Update: New Providers, Model Enhancements, and Functionality Improvementskqlio672024-07-251-49/+201
|
* Update g4f/models.pykqlio672024-07-091-1/+1
|
* Add files via uploadkqlio672024-07-081-1/+1
|
* Add files via uploadkqlio672024-07-081-107/+274
|
* requested removal of DuckDuckGoabc2024-06-091-3/+1
|
* remove ecosiaabc2024-05-311-3/+0
|
* Update model list / providersHeiner Lohaus2024-05-191-108/+46
|
* gpt-4o (beta)abc2024-05-151-0/+9
|
* add reka core model (vision)abc2024-04-251-0/+16
|
* Fix typo in model listHeiner Lohaus2024-04-221-8/+9
|
* A few small fixes in GUI and Providers (#1861)kqlio672024-04-191-19/+34
|
* Added Meta llama-3 support! (#1856)PD2024-04-191-4/+18
| | | | | | | | * Added Meta llama-3 support! Decided to change llama2.py to llama.py to hold all the llama family models. * updated HuggingChat provider * Update FlowGpt.py
* add cohere provider.abc2024-04-161-1/+2
|
* new gpt-4 beating opensource modelsabc2024-04-131-2/+9
|
* add more modelsabc2024-04-131-10/+24
| | | | mixtral 8x22b
* improve models list for gpt-3.5-turboabc2024-04-121-0/+1
|
* update default gpt-3.5-turbo modelsabc2024-04-121-2/+8
| | | | | | by default, only OpenAI was enabled, more models enable for more flexibility. new provider `Koala` added, to watch out as it could be unstable.
* Update DeepInfra modelsnullstreak2024-04-121-9/+16
|
* Add authless OpenaiChatHeiner Lohaus2024-04-051-17/+9
|
* GigaChat models addvlad2024-03-131-2/+26
|
* Remove all not working provider (#1679)H Lohaus2024-03-121-5/+2
| | | | Fix many providers Add selenium-wire to requierments
* Fix HuggingChat and PerplexityLabs and add HuggingFace providerHeiner Lohaus2024-03-111-6/+21
| | | | | Add more models and image generation in You provider Use You as second default image provider
* Improve readme, add smartphone guideHeiner Lohaus2024-02-231-5/+5
|
* Move some modules, create providers dirHeiner Lohaus2024-02-221-0/+2
| | | | | | Set min version for duckduckgo Make duckduckgo search async Remove get_lastet_version
* Update provider and model list (#1568)H Lohaus2024-02-091-11/+7
| | | | Move bing.create_images and cookies helper Disable some providers
* Merge pull request #1565 from hlohaus/gemini0.2.1.1H Lohaus2024-02-091-1/+1
|\ | | | | Fix OpenaiChat provider, Fix issue with curl_cffi
| * Fix Phind Provider / add generate_challengeHeiner Lohaus2024-02-091-1/+1
| |
* | Added CodeLlama 70bnullstreak2024-02-041-1/+8
|/
* Added CodeLlama and misc models from DeepInfra (#1506)nullstreak2024-01-231-5/+25
|
* Cleanup model listHeiner Lohaus2024-01-231-164/+20
|
* Add upload svg image supportHeiner Lohaus2024-01-231-5/+6
| | | | Fix upload image in Bing Provider
* Add dolphin-2.6-mixtral-8x7bnullstreak2024-01-211-0/+13
|
* Refactor code with AIHeiner Lohaus2024-01-141-0/+15
| | | | | | | Add doctypes to many functions Add file upload for text files Add alternative url to FreeChatgpt Add webp to allowed image types
* Improve FreeChatgpt ProviderHeiner Lohaus2024-01-131-7/+5
|
* Added support for more models: FreeChatgpt (#1456)Debaditya Banerji2024-01-131-5/+15
| | | | | | * Improved FreeChatgpt, added support for more models * Added new model: Gemini Pro
* Add create images to Bing (#1426)H Lohaus2024-01-101-5/+2
| | | | | Add create images from Bing Add FreeChatgpt Provider Fix Bard Provider
* Add GeminiProChat Provider (#1419)H Lohaus2024-01-021-5/+1
| | | * Add GeminiProChat Provider
* 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