mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-16 07:20:59 +00:00
fix: ruff format provider.py
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -160,9 +160,7 @@ class ModelProviderService:
|
|||||||
|
|
||||||
return {'llm_count': llm_count, 'embedding_count': embedding_count, 'rerank_count': rerank_count}
|
return {'llm_count': llm_count, 'embedding_count': embedding_count, 'rerank_count': rerank_count}
|
||||||
|
|
||||||
async def find_or_create_provider(
|
async def find_or_create_provider(self, requester: str, base_url: str, api_keys: list) -> str:
|
||||||
self, requester: str, base_url: str, api_keys: list
|
|
||||||
) -> str:
|
|
||||||
"""Find existing provider or create new one"""
|
"""Find existing provider or create new one"""
|
||||||
api_keys = self._normalize_api_keys(api_keys)
|
api_keys = self._normalize_api_keys(api_keys)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user