schemas/new_chat: accept 'approve_always' on the resume HTTP boundary

ResumeDecision is the Pydantic gate at the /resume HTTP route. It was
the last spot still rejecting the new wire decision-type, so the FE's
'approve_always' dispatch was being 422'd before it could reach the
permission middleware that already speaks it.
This commit is contained in:
CREDO23 2026-05-15 15:23:39 +02:00
parent 1f1b6c5425
commit a22e0e915f

View file

@ -395,7 +395,7 @@ class AgentToolInfo(BaseModel):
class ResumeDecision(BaseModel):
type: Literal["approve", "edit", "reject"]
type: Literal["approve", "edit", "reject", "approve_always"]
edited_action: dict[str, Any] | None = None