From 6dcb2d6f68379b44fa08855e1bae00408d9d143e Mon Sep 17 00:00:00 2001 From: nettee Date: Mon, 23 Nov 2026 22:05:28 +0800 Subject: [PATCH] fix(cli): clarify provider-specific model option examples --- apps/server/src/cli/thread.ts | 2 +- docs/user/outside-agents.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/server/src/cli/thread.ts b/apps/server/src/cli/thread.ts index 7ae729b391edb..fc3476739d1b0 100644 --- a/apps/server/src/cli/thread.ts +++ b/apps/server/src/cli/thread.ts @@ -934,7 +934,7 @@ const threadStartCommand = Command.make("start", { ), option: Flag.String("option").pipe( Flag.withDescription( - "Model option as id=value, such as effort=high. Repeat for more. Needs --provider and --model.", + "Model option as id=value (Codex: reasoningEffort=high; Claude: effort=high). Ids depend on the model. Repeat for more. Needs --provider and --model.", ), Flag.atLeast(0), ), diff --git a/docs/user/outside-agents.md b/docs/user/outside-agents.md index 30c8aba13ffb1..c322becf88531 100644 --- a/docs/user/outside-agents.md +++ b/docs/user/outside-agents.md @@ -173,9 +173,10 @@ started in the app are. `send` never interrupts: a busy thread gets the message as its next turn. Pass `-` as the message to read it from stdin. To choose the model, pass `--provider --model `. Add -`--option id=value` for each model option, such as `--option effort=high`. -Option ids and values depend on the model; `true` and `false` set on/off -options. +`--option id=value` for each model option. For reasoning effort, Codex uses +`--option reasoningEffort=high`, while Claude uses `--option effort=high`. +Option ids and allowed values depend on the provider and model; use those +reported by `orchestrator_capabilities`. `true` and `false` set on/off options. `--wait` prints the agent's reply. It exits 1 when the run fails or stops, and 2 when the agent waits for an answer you give in the app. Add `--json` for a