gpt4free/docs
kqlio67 88e7ef98f0
Adding New Models and Enhancing Provider Functionality (#2689)
* Adding New Models and Enhancing Provider Functionality

* fix(core): handle model errors and improve configuration

- Import ModelNotSupportedError for proper exception handling in model resolution
- Update login_url configuration to reference class URL attribute dynamically
- Remove redundant typing imports after internal module reorganization

* feat(g4f/Provider/PerplexityLabs.py): Add new Perplexity models and update provider listings

- Update PerplexityLabs provider with expanded Sonar model family including pro/reasoning variants
- Add new text models: sonar-reasoning-pro to supported model catalog
- Standardize model naming conventions across provider documentation

* feat(g4f/models.py): add Sonar Reasoning Pro model configuration

- Add new  model to Perplexity AI text models section
- Include model in ModelUtils.convert mapping with PerplexityLabs provider
- Maintain consistent configuration pattern with existing Sonar variants

* feat(docs/providers-and-models.md): update provider models and add new reasoning model

- Update PerplexityLabs text models to standardized sonar naming convention
- Add new sonar-reasoning-pro model to text models table
- Include latest Perplexity AI documentation references for new model

* docs(docs/providers-and-models.md): update AI providers documentation

- Remove deprecated chatgptt.me from no-auth providers list
- Delete redundant Auth column from HuggingSpace providers table
- Update PerplexityLabs model website URLs to sonar.perplexity.ai
- Adjust provider counts for GPT-4/GPT-4o models in text models section
- Fix inconsistent formatting in image models provider listings

* chore(g4f/models.py): remove deprecated ChatGptt provider integration

- Remove ChatGptt import from provider dependencies
- Exclude ChatGptt from default model's best_provider list
- Update gpt_4 model configuration to eliminate ChatGptt reference
- Modify gpt_4o vision model provider hierarchy
- Adjust gpt_4o_mini provider selection parameters

BREAKING CHANGE: Existing integrations using ChatGptt provider will no longer function

* Disabled provider (g4f/Provider/ChatGptt.py > g4f/Provider/not_working/ChatGptt.py): Problem with Cloudflare

* fix(g4f/Provider/CablyAI.py): update API endpoints and model configurations

* docs(docs/providers-and-models.md): update model listings and provider capabilities

* feat(g4f/models.py): Add Hermes-3 model and enhance provider configs

* feat(g4f/Provider/CablyAI.py): Add free tier indicators to model aliases

* refactor(g4f/tools/run_tools.py): modularize thinking chunk handling

* fix(g4f/Provider/DeepInfraChat.py): resolve duplicate keys and enhance request headers

* feat(g4f/Provider/DeepInfraChat.py): Add multimodal image support and improve model handling

* chore(g4f/models.py): update default vision model providers

* feat(docs/providers-and-models.md): update provider capabilities and model specifications

* Update docs/client.md

* docs(docs/providers-and-models.md): Update DeepInfraChat models documentation

* feat(g4f/Provider/DeepInfraChat.py): add new vision models and expand model aliases

* feat(g4f/models.py): update model configurations and add new providers

* feat(g4f/models.py): Update model configurations and add new AI models

---------

Co-authored-by: kqlio67 <>
2025-02-07 13:54:00 +01:00
..
guides Added missing periods. 2024-05-03 11:06:01 -04:00
images Add Authentication Setup Guide 2024-12-07 03:01:43 +01:00
async_client.md Restore AsyncClient streaming return type 2025-01-24 04:56:26 +01:00
authentication.md Update model configurations, provider implementations, and documentation (#2577) 2025-01-24 03:47:57 +01:00
client.md Adding New Models and Enhancing Provider Functionality (#2689) 2025-02-07 13:54:00 +01:00
configuration.md Update model configurations, provider implementations, and documentation (#2577) 2025-01-24 03:47:57 +01:00
docker.md Add nodriver to Gemini provider, 2024-11-17 11:06:37 +01:00
file.md Add File API Documentation for Python and JS 2025-01-01 14:01:33 +01:00
git.md Update (docs/ README.md g4f/client/client.py) 2024-11-12 08:44:48 +02:00
gui.md Add continue messages support, 2024-12-30 02:51:36 +01:00
interference-api.md Fix generate Images with OpenaiChat 2025-01-24 17:49:07 +01:00
legacy.md Add more contributers, add link to Swagger UI (#2443) 2024-11-30 22:11:18 +01:00
local.md Updated almost all documentation and added new documentation for the local interface 2024-10-19 20:21:14 +03:00
providers-and-models.md Adding New Models and Enhancing Provider Functionality (#2689) 2025-02-07 13:54:00 +01:00
requests.md Fix invalid escape in requests module 2025-01-06 23:20:29 +01:00
requirements.md Updated almost all documentation and added new documentation for the local interface 2024-10-19 20:21:14 +03:00
selecting_a_provider.md Fix generate Images with OpenaiChat 2025-01-24 17:49:07 +01:00
vision.md Add multiple images support (#2478) 2024-12-13 22:20:58 +01:00
webview.md Add Installation Guide for Windows 2024-04-06 10:47:43 +02:00