mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
style: fix Black formatting on cancel endpoint
This commit is contained in:
@@ -367,9 +367,7 @@ async def cancel_session_task(
|
||||
)
|
||||
return CancelTaskResponse(cancelled=True, task_id=task_id)
|
||||
|
||||
logger.warning(
|
||||
f"[CANCEL] Task ...{task_id[-8:]} not confirmed after {max_wait}s"
|
||||
)
|
||||
logger.warning(f"[CANCEL] Task ...{task_id[-8:]} not confirmed after {max_wait}s")
|
||||
return CancelTaskResponse(
|
||||
cancelled=True, task_id=task_id, reason="cancel_published_not_confirmed"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user