summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/__init__.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix image generation in OpenaiChat (#2390)0.3.5.2H Lohaus5 days1-0/+1
| | | | | * Fix image generation in OpenaiChat * Add PollinationsAI provider with image and text generation
* New RobocodersAPI provider with providers enhancement and client updates (#2388)kqlio675 days1-1/+2
| | | | | | | | | | | | | | | | | * refactor(g4f/Provider/Airforce.py): Enhance Airforce provider with dynamic model fetching * refactor(g4f/Provider/Blackbox.py): Enhance Blackbox AI provider configuration and streamline code * feat(g4f/Provider/RobocodersAPI.py): Add RobocodersAPI new async chat provider * refactor(g4f/client/__init__.py): Improve provider handling in async_generate method * refactor(g4f/models.py): Update provider configurations for multiple models * refactor(g4f/Provider/Blackbox.py): Streamline model configuration and improve response handling --------- Co-authored-by: kqlio67 <kqlio67@users.noreply.github.com>
* Fix load model list i AirforceChat providerHeiner Lohaus7 days1-0/+1
| | | | | Add Microsoft Copilot provider Show image support in the model list of the gui
* Fix api streaming, fix AsyncClient (#2357)0.3.4.0H Lohaus9 days1-0/+1
| | | | | | | | | | * 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.4Tekky10 days1-1/+0
|
* Merge remote-tracking branch 'upstream/main'kqlio6712 days1-0/+1
|\
| * Added the best AI Provider there existsNoël2024-11-051-0/+1
| |
* | Removed provider (g4f/Provider/ChatifyAI.py)kqlio6714 days1-1/+0
| |
* | Update (docs/providers-and-models.md g4f/Provider/)kqlio6714 days1-1/+0
| |
* | Removed provider (g4f/Provider/AiMathGPT.py)kqlio6714 days1-1/+0
| |
* | Update (g4f/Provider/)kqlio672024-11-071-1/+0
| |
* | Update (g4f/Provider/AI365VIP.py g4f/Provider/__init__.py g4f/Provider/not_working/)kqlio672024-11-071-1/+0
| |
* | Update (g4f/models.py g4f/Provider/ docs/providers-and-models.md)kqlio672024-11-061-2/+0
| |
* | Update (g4f/Provider/)kqlio672024-11-061-3/+0
| |
* | Update (g4f/models.py g4f/Provider/ docs/providers-and-models.md)kqlio672024-11-061-21/+2
| |
* | Update (g4f/Provider/DeepInfra.py g4f/Provider/__init__.py g4f/Provider/needs_auth/)kqlio672024-11-061-1/+0
| |
* | Provider removed (g4f/Provider/ChatHub.py)kqlio672024-11-051-1/+0
| |
* | Provider deleted because it has been down for a long time (g4f/Provider/ChatGot.py)kqlio672024-11-041-1/+0
|/
* Update (g4f/Provider/__init__.py)kqlio672024-10-261-0/+1
|
* Remove providers in the providers ,kqlio672024-10-191-6/+6
|
* Added new provider (g4f/Provider/Ai4Chat.py)kqlio672024-10-171-0/+1
|
* Added new provider (g4f/Provider/RubiksAI.py)kqlio672024-10-171-0/+1
|
* Added new provider (g4f/Provider/Editee.py)kqlio672024-10-161-0/+1
|
* Added new provider (g4f/Provider/AiMathGPT.py)kqlio672024-10-161-0/+1
|
* chore: temporarily disable some new providerskqlio672024-10-121-2/+0
|
* feat(g4f/Provider/__init__.py): add new providers and update importskqlio672024-10-111-1/+7
|
* refactor(g4f/Provider/__init__.py): remove Bixin123 importkqlio672024-10-021-1/+0
|
* New provider added GPROChatkqlio672024-09-271-0/+1
|
* New provider added ChatHubkqlio672024-09-271-0/+1
|
* Updated g4f/models.py g4f/Provider/Liaobots.py g4f/Provider/__init__.py g4f/Provider/DeepInfraChat.pykqlio672024-09-261-0/+1
|
* The restored directory 'g4f/Provider/deprecated'kqlio672024-09-251-0/+1
|
* Returned provider 'g4f/Provider/ChatGot.py' updated documentation 'docs/providers-and-models.md'kqlio672024-09-241-0/+1
|
* Resolved merge conflictskqlio672024-09-241-10/+4
|
* Added gpt-4o provider0.3.2.8abc2024-09-191-0/+1
|
* update ...abc2024-09-191-0/+1
|
* feat(providers): unify Rocks and FluxAirforce into Airforce providerkqlio672024-09-131-2/+1
|
* Added a new provider for generating images: g4f/Provider/Prodia.pykqlio672024-09-121-0/+1
|
* Removed g4f/Provider/selenium/AItianhuSpace.py g4f/Provider/Llama.py | Updated g4f/Provider/__init__.pykqlio672024-09-111-1/+0
|
* Updated g4f/Provider/MagickPen.pykqlio672024-09-071-2/+1
|
* Adding a new provider Free2GPTkqlio672024-09-061-1/+2
|
* Adding a new provider Binjiekqlio672024-09-061-1/+2
|
* Updated g4f/models.py g4f/Provider/__init__.py g4f/Provider/FreeChatgpt.pykqlio672024-09-061-0/+1
|
* Adding a new provider with support for modelskqlio672024-09-061-0/+1
|
* feat(Nexra): add image generation supportkqlio672024-09-041-1/+1
|
* Adding new providers AiChats.py Nexra.py Snova.pykqlio672024-09-041-0/+3
|
* New TwitterBio provider with support for gpt-3.5-turbo and mixtral-8x7b modelskqlio672024-09-021-0/+1
|
* Update models.py: Refine provider list and model supportkqlio672024-09-021-3/+3
|
* Comprehensive Updates and Enhancements Across Multiple Providerskqlio672024-08-311-5/+2
|
* fix for 500 Internal Server Error #2199 [Request] Blackbox provider now support Gemini and LLaMa 3.1 models #2198 with some stuff from #2196zukixa2024-08-291-0/+1
|
* stonehenge ( I found a good site to reverse #2141 )zukixa2024-08-151-0/+1
|
* Added new providers TeachAnything MagickPenAsk MagickPenChatkqlio672024-08-011-0/+3
|
* Adding a new FreeNetfly providerkqlio672024-07-301-0/+1
|
* Update g4f/Provider/__init__.pykqlio672024-07-291-0/+2
|
* Added Marsyoo provider with support for the gpt-4o model. Updating models.pykqlio672024-07-281-0/+1
|
* Comprehensive Update: New Providers, Model Enhancements, and Functionality Improvementskqlio672024-07-251-0/+2
|
* Add files via uploadkqlio672024-07-081-10/+6
|
* Add Pizzagpt Providerlobowarren2024-06-221-0/+1
|
* requested removal of DuckDuckGoabc2024-06-091-1/+0
|
* remove ecosiaabc2024-05-311-1/+0
|
* Update model list / providersHeiner Lohaus2024-05-191-1/+1
|
* Add Ollama provider, Add vision support to OpenaiHeiner Lohaus2024-05-051-0/+1
|
* add reka core model (vision)abc2024-04-251-0/+1
|
* Add Replicate ProviderHeiner Lohaus2024-04-211-1/+1
| | | | | | Fix Bug in OpenaiChat and MetaAI Add read cookie and .har files Use factory for api app
* Fix Bing Provider, Add Account Support for Meta AIHeiner Lohaus2024-04-211-0/+1
| | | | Use default headers in OpenaiChat
* Add MetaAI Provider and some small improvmentsHeiner Lohaus2024-04-201-0/+1
|
* Added Meta llama-3 support! (#1856)PD2024-04-191-1/+1
| | | | | | | | * 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 Ecosia Provider, Add OpenaiAccount aliasHeiner Lohaus2024-04-181-1/+2
| | | | | Use AsyncClient in API, add web_search parameter in API Improve error messages in Openai
* add cohere provider.abc2024-04-161-0/+1
|
* Add Aichatos and Blackbox Provider (#1822)0.2.9.6kqlio672024-04-121-1/+5
| | | | | Providers added: - Feedough - Added a new provider with GPT-3 model - Cnote - Added a new provider with GPT-3.5 model
* Add ReplicateImage to provider listHeiner Lohaus2024-04-111-0/+1
|
* Add OpenRouter and DeepInfraImage Provider (#1814)0.2.9.2H Lohaus2024-04-101-0/+1
|
* Add text to speech moduleHeiner Lohaus2024-04-091-0/+1
|
* Add WhiteRabbitNeo Provider, Many tiny improvments in the guiHeiner Lohaus2024-04-081-0/+1
|
* Add local models to gui, Fix You Provider, add AsyncClientHeiner Lohaus2024-04-071-0/+1
|
* GigaChat models addvlad2024-03-131-0/+1
|
* Remove all not working provider (#1679)H Lohaus2024-03-121-45/+25
| | | | Fix many providers Add selenium-wire to requierments
* Fix HuggingChat and PerplexityLabs and add HuggingFace providerHeiner Lohaus2024-03-111-0/+1
| | | | | Add more models and image generation in You provider Use You as second default image provider
* Enable Liaobots, disable Phind providerHeiner Lohaus2024-03-081-1/+0
|
* Update some providersHeiner Lohaus2024-02-271-1/+1
| | | | | | | Improve read access_token in OpenaiChat Add IterProvider Add system message support in FlowGpt Filter none values in new Client
* Add FlowGpt provider, Fix issue with None values in apiHeiner Lohaus2024-02-241-0/+1
|
* Add GeminiPro API providerHeiner Lohaus2024-02-231-0/+1
| | | | | Set min version for undetected-chromedriver Add api_key to the new client
* Move some modules, create providers dirHeiner Lohaus2024-02-221-6/+6
| | | | | | Set min version for duckduckgo Make duckduckgo search async Remove get_lastet_version
* Add new Client API with DocsHeiner Lohaus2024-02-121-1/+1
| | | | | | | Use object urls for the preview of image uploads. Fix upload images in You provider Fix create image. It's now a single image. Improve system message for create images.
* Update provider and model list (#1568)H Lohaus2024-02-091-0/+2
| | | | Move bing.create_images and cookies helper Disable some providers
* Add Gemini Provider with image upload and generationHeiner Lohaus2024-02-081-1/+1
|
* Add PerplexityLabs ProviderHeiner Lohaus2024-01-231-2/+3
|
* Improve CreateImagesBingHeiner Lohaus2024-01-221-8/+1
| | | | Sort providers by category
* Add create images to Bing (#1426)H Lohaus2024-01-101-0/+2
| | | | | Add create images from Bing Add FreeChatgpt Provider Fix Bard Provider
* Add GeminiProChat Provider (#1419)H Lohaus2024-01-021-1/+2
| | | * Add GeminiProChat Provider
* New Provider 'Bestim' (#1416)4sh2024-01-021-0/+1
| | | * Add new provider Bestim
* Add support for all modelsHeiner Lohaus2024-01-011-9/+11
| | | | | | | | | 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
* Merge pull request #1389 from hlohaus/gpt6H Lohaus2023-12-271-0/+1
|\ | | | | Add Gpt6 Provider
| * Add Gpt6 ProviderHeiner Lohaus2023-12-251-0/+1
| |
* | Added new Provider Chatxyz (#1393)Debaditya Banerji2023-12-271-0/+1
|/ | | | | | | * Added fucntionality for Provider * Added Provider in init * System message if present must be the first object in message array
* Added OpenChat's Aura Model as a new Provider (#1371)Debaditya Banerji2023-12-231-1/+1
| | | | | * Added File for new Provider: Aura * Added Aura Provider in init
* Fix remove NoowAi, Fix download dir in dockerHeiner Lohaus2023-12-161-1/+0
|
* Remove VoiGptH Lohaus2023-12-141-1/+0
|
* Remove needs_auth, add proxy support in VoiGptHeiner Lohaus2023-12-101-0/+1
|
* Update pi providerHeiner Lohaus2023-12-011-3/+3
|
* Added new provider PI (Hacky way to use) (#1291)madonchik1232023-12-011-1/+2
| | | | | | | | | * 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
* Add GptTalkRu ProviderHeiner Lohaus2023-11-221-0/+1
|
* Fix Phind and GptGo ProviderHeiner Lohaus2023-11-221-6/+7
|
* Add AiChatOnline, ChatgptDemoAi, ChatgptNext ProvidersHeiner Lohaus2023-11-181-0/+5
| | | | | | Add OnlineGpt and TalkAi Provider Add get_random_string and get_random_hex helper Remove funcaptcha package
* Fix Phind and PerplexityAi - GPT-4 ProvidersHeiner Lohaus2023-11-161-146/+22
| | | | | | | Fix MyShell Provider Refactor Provider __init__ Add ChatAnywhere Provider Update models list
* Fix Chatgpt4Online ProviderHeiner Lohaus2023-11-131-5/+0
|
* Add Berlin and Koala ProviderHeiner Lohaus2023-11-121-0/+6
|
* Update config supports_message_historyHeiner Lohaus2023-10-271-2/+2
|
* Add Llama2 Providers / ModelsHeiner Lohaus2023-10-261-0/+3
|
* Fix increase timeoutHeiner Lohaus2023-10-221-0/+3
| | | | | Add Hashnode Provider Fix Yqcloud Provider
* Fix MyShell ProviderHeiner Lohaus2023-10-221-1/+3
|
* Add FakeGpt ProviderHeiner Lohaus2023-10-221-0/+3
| | | | Update providers in models
* ~ | add `g4f.Provider.GeekGpt`abc2023-10-161-1/+4
|
* Add Llama2 and NoowAi ProviderHeiner Lohaus2023-10-151-1/+6
|
* ~ | Merge pull request #1068 from hlohaus/freTekky2023-10-141-2/+2
|\ | | | | Fix Opchatgpts and ChatForAi Provider
| * Fix Opchatgpts and ChatForAi ProviderHeiner Lohaus2023-10-141-2/+2
| | | | | | | | Deprecate Vitalentum and Aivvm Provider
* | ~abc2023-10-141-2/+7
|/ | | | fix chatbase (bad) and remove from auto selection
* Deprecate ChatForAiHeiner Lohaus2023-10-121-1/+0
|
* Add ChatgptLogin, ChatgptFree and GptChatly ProviderHeiner Lohaus2023-10-121-1/+8
|
* ~ | remove DeepAiabc2023-10-101-3/+0
|
* ~abc2023-10-101-0/+62
| | | | Conversion from str Provider to g4f.Provider
* Add Cromicle to provider listHeiner Lohaus2023-10-081-0/+2
|
* ~ | `v-0.1.5.5`abc2023-10-071-0/+2
| | | | Aiivm working again
* Remove Aivvm from working providersHeiner Lohaus2023-10-071-1/+0
|
* Add GptGod ProviderHeiner Lohaus2023-10-071-1/+2
| | | | | Remove timeout from aiohttp providers Disable Opchatgpts and ChatgptLogin provider
* Add GPTalk and GptForLove ProviderHeiner Lohaus2023-10-071-0/+4
|
* Add AiAsk, Chatgpt4Online, ChatgptDemoHeiner Lohaus2023-10-051-26/+35
| | | | | | 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-20/+2
|
* Add Phind ProviderHeiner Lohaus2023-10-021-0/+2
| | | | | Add release_curl in url_cffi requets Support create image response in Bing
* Update HuggingChat to new apiHeiner Lohaus2023-10-011-0/+4
| | | | | | | | Impersonate Aivvm Provider Add ChatForAi and FreeGpt Provider Update AItianhuSpace Provider Improve StreamRequest Support Update get_event_loop Helper
* Add ChatgptDuo and Aibn ProviderHeiner Lohaus2023-09-261-0/+4
| | | | | | Add support for "nest_asyncio", Reuse event_loops with event_loop_policy Support for "create_async" with synchron provider
* "create_async" support for BaseProvider,Heiner Lohaus2023-09-261-0/+2
| | | | | by using ThreadPoolExecutor Default Model for Vercel
* Add Myshell ProviderHeiner Lohaus2023-09-251-0/+2
| | | | Remove auto proxy prefix
* Add RetryProviderHeiner Lohaus2023-09-211-1/+5
|
* Fix create_event_loop functionHeiner Lohaus2023-09-201-0/+2
| | | | Add PerplexityAi Provider
* Add GptGo Provider, Fix AItianhu ProviderHeiner Lohaus2023-09-181-0/+2
|
* Add new providers: Aivvm, Vitalentum and YlokhHeiner Lohaus2023-09-121-0/+6
|
* Add ChatBase ProviderHeiner Lohaus2023-09-101-0/+2
|
* Add CodeLinkAva Provider, Improve test_async.pyHeiner Lohaus2023-09-091-0/+2
|
* 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
* Set working=True in Liaobots, Fix bing provider, Update readmeHeiner Lohaus2023-09-011-1/+1
|
* Add async support for H2oHeiner Lohaus2023-08-281-2/+4
| | | | | | | | | | | | | 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-61/+62
|
* ~ | Merge pull request #839Tekky2023-08-251-0/+2
|\ | | | | Wuguokai
| * Merge branch 'main' of https://github.com/bagusindrayana/gpt4free into mainBagus Indrayana2023-08-241-0/+2
| |\
| * | add providerBagus Indrayana2023-08-171-1/+3
| | |
* | | Add OpenaiChat and Hugchat ProviderHeiner Lohaus2023-08-251-0/+4
| |/ |/| | | | | | | | | Add tests for providers with auth Improve async support / 2x faster Shared get_cookies by domain function
* | another mergeBagus Indrayana2023-08-171-1/+5
|\|
| * ~ | major refractoring + new providers | v0.0.2.0abc2023-08-171-0/+4
| | | | | | | | | | | | g4f.Provider.FastGpt & g4f.Provider.Equing gpt-3.5-turbo-0613
* | merge and refactorBagus Indrayana2023-08-171-30/+54
|\|
| * refactor: refactor providerMIDORIBIN2023-08-141-29/+52
| |
* | add v50Bagus Indrayana2023-08-171-0/+1
|/
* Add Raycast Providerye42412023-08-091-0/+1
|
* Update __init__.pykggn2023-08-011-1/+1
|
* Update __init__.pykggn2023-08-011-0/+1
|
* minor fixesabc2023-07-161-1/+1
|
* minor fixesabc2023-07-161-1/+2
| | | | ails, chatgptai ...
* refactor/move provider from testing folderBagus Indrayana2023-07-121-0/+3
|
* some more providersnajam-tariq2023-07-051-1/+5
|
* gpt4free v2, first releasev2t.me/xtekky2023-06-241-0/+20