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

XFEstudio/gpt4free

Set provider class name with generated provider ID in PaProviderRegistry

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

代码差异

1 个文件 +1 -0
Modified g4f/mcp/pa_provider.py +1 -0
@@ -594,6 +594,7 @@ class PaProviderRegistry:
594 594 if cls is None:
595 595 continue
596 596 provider_id = self._make_id(pa_path)
597 cls.__name__ = f"pa:{provider_id}"
597 598 models_list: List[str] = []
598 599 try:
599 600 if hasattr(cls, "get_models"):