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

XFEstudio/gpt4free

Update GeminiCLI.py

2c6bc306
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/Provider/needs_auth/GeminiCLI.py +1 -1
@@ -855,7 +855,7 @@ class GeminiCLI(AsyncGeneratorProvider, ProviderModelMixin):
855 855 return cls.models if cls.models else cls.fallback_models
856 856
857 857 @classmethod
858 async def get_quota(cls, api_key: Optional[str] = None)) -> dict:
858 async def get_quota(cls, api_key: Optional[str] = None) -> dict:
859 859 if cls.auth_manager is None:
860 860 cls.auth_manager = AuthManager(env=os.environ)
861 861 provider = GeminiCLIProvider(env=os.environ, auth_manager=cls.auth_manager)