XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Enhance AnyModelProviderMixin to support Perplexity and improve model mapping

- Added Perplexity to the list of providers handled in model mapping. - Simplified model mapping logic for Copilot and CopilotAccount. - Updated handling of fallback models for Perplexity. - Improved clean_name function to standardize model names, including new replacements for gpt-5 and Claude models. - Adjusted model grouping logic to include additional prefixes for Mistral models.

f612fd96
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

3 个文件 +2782 -2243
Modified g4f/Provider/Perplexity.py +2 -1
Modified g4f/providers/any_provider.py +24 -29