[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-05-25 13:13:39 +00:00
commit e17aea6c81

View file

@ -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