fix: correct 409 endpoint name — /api/loose-ends not /api/state
This commit is contained in:
parent
8e441ead93
commit
527022c5f2
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ Successful POSTs return 200 (no 303 redirects). Error responses
|
|||
use semantic status codes: **400** for missing/invalid input
|
||||
(`body` required, unknown model name, invalid effort level),
|
||||
**409** for retryable state conflicts (turn in flight when
|
||||
`/compact` is called, hive-c0re busy on `/api/state`),
|
||||
`/compact` is called, hive-c0re busy on `GET /api/loose-ends`),
|
||||
**500** only for genuine server/transport failures. The matching
|
||||
mutations fire `LiveEvent` variants on the per-agent bus, so the
|
||||
client doesn't refetch `/api/state` on submit — the SSE stream
|
||||
|
|
|
|||
Loading…
Reference in a new issue