返回提交历史
Modified
g4f/Provider/needs_auth/GeminiCLI.py
+1
-1
XFEstudio/gpt4free
Update GeminiCLI.py
f3d8a7b3
代码差异
1 个文件
+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) -> 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)