fix: Simplify error logging in models list API handler

This commit is contained in:
bsiggel
2026-03-19 09:48:57 +00:00
parent 69f0c6a44d
commit 7fffdb2660
2 changed files with 318 additions and 225 deletions

View File

@@ -112,7 +112,7 @@ async def handler(request: ApiRequest, ctx: FlowContext[Any]) -> ApiResponse:
)
except Exception as e:
ctx.logger.error(f"❌ Error listing models: {e}", exc_info=True)
ctx.logger.error(f"❌ Error listing models: {e}")
return ApiResponse(
status=500,
body={