style(provider): format model manager

This commit is contained in:
huanghuoguoguo
2026-06-15 09:43:54 +08:00
parent 9a04bfc364
commit 77a6c24e16

View File

@@ -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}')