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 de61b5d368
commit b33d05f99a

View File

@@ -139,9 +139,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"""
# Try to find existing provider with same config
result = await self.ap.persistence_mgr.execute_async(