mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-23 01:59:24 +02:00
When a task finishes between the UI rendering the Stop button and the user clicking it, CancelAgentTask returns no rows. Previously this surfaced as a 400 error. Now CancelTask checks for pgx.ErrNoRows and returns the current task state instead of an error. Closes #954