From 77a6c24e169d61d72f1c06e932e4da973c32e224 Mon Sep 17 00:00:00 2001 From: huanghuoguoguo <60681390+huanghuoguoguo@users.noreply.github.com> Date: Mon, 15 Jun 2026 09:43:54 +0800 Subject: [PATCH] style(provider): format model manager --- src/langbot/pkg/provider/modelmgr/modelmgr.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/langbot/pkg/provider/modelmgr/modelmgr.py b/src/langbot/pkg/provider/modelmgr/modelmgr.py index 0b4fd2ed..e3e20e02 100644 --- a/src/langbot/pkg/provider/modelmgr/modelmgr.py +++ b/src/langbot/pkg/provider/modelmgr/modelmgr.py @@ -95,9 +95,7 @@ class ModelManager: else: await self.sync_new_models_from_space() except asyncio.TimeoutError: - self.ap.logger.warning( - f'LangBot Space model sync timed out after {sync_timeout}s, skipping startup sync.' - ) + self.ap.logger.warning(f'LangBot Space model sync timed out after {sync_timeout}s, skipping startup sync.') except Exception as e: self.ap.logger.warning('Failed to sync new models from LangBot Space, model list may not be updated.') self.ap.logger.warning(f' - Error: {e}')