fix: ruff format provider.py

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
huanghuoguoguo
2026-04-24 22:36:55 +08:00
parent a62fce1cf7
commit 31ad85517b

View File

@@ -160,9 +160,7 @@ class ModelProviderService:
return {'llm_count': llm_count, 'embedding_count': embedding_count, 'rerank_count': rerank_count}
async def find_or_create_provider(
self, requester: str, base_url: str, api_keys: list
) -> str:
async def find_or_create_provider(self, requester: str, base_url: str, api_keys: list) -> str:
"""Find existing provider or create new one"""
api_keys = self._normalize_api_keys(api_keys)