fix(sessions_spawn): hard-fail invalid model overrides

This commit is contained in:
Peter Steinberger
2026-01-06 23:17:10 +00:00
parent 0429a4b63b
commit b57d36f49c
5 changed files with 57 additions and 13 deletions

View File

@@ -126,6 +126,7 @@ Spawn a sub-agent run in an isolated session and announce the result back to the
Parameters:
- `task` (required)
- `label?` (optional; used for logs/UI)
- `model?` (optional; overrides the sub-agent model; invalid values error)
- `timeoutSeconds?` (default 0; 0 = fire-and-forget)
- `cleanup?` (`delete|keep`, default `delete`)