From e17aea6c814d9a98891f4edb12a23c2e6fb3919f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 13:13:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/routes/inference.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/studio/backend/routes/inference.py b/studio/backend/routes/inference.py index cf93153fbe..673c31d508 100644 --- a/studio/backend/routes/inference.py +++ b/studio/backend/routes/inference.py @@ -1698,10 +1698,7 @@ async def unload_model( ) should_unload_llama = ( llama_matches_request - and ( - getattr(llama_backend, "is_active", False) - or loading_identifier - ) + and (getattr(llama_backend, "is_active", False) or loading_identifier) ) or llama_is_starting_without_identifier if should_unload_llama: # Round 19 P1 #6: previously this called