[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-07-28 22:06:02 +00:00
commit 60e740e8fb

View file

@ -778,7 +778,11 @@ async def _dispatch(
monitor_id = api_monitor.record_lifecycle(
# Only an API request reaches auto-download, hence reason "api".
event = "download", model = label, reason = "api", running = True, via_api_key = True
event = "download",
model = label,
reason = "api",
running = True,
via_api_key = True,
)
with _lock:
if _active is active: