diff --git a/apps/server/src/cli/thread.ts b/apps/server/src/cli/thread.ts index 7ae729b391edb..ea6f130bb4536 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, such as reasoningEffort=high for Codex or effort=high for Claude. Ids depend on the model; orchestrator_capabilities lists them. 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..9811e6cc31474 100644 --- a/docs/user/outside-agents.md +++ b/docs/user/outside-agents.md @@ -173,9 +173,11 @@ 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, such as +`--option reasoningEffort=high` for Codex or `--option effort=high` for Claude. +Option ids and values depend on the model, and an id the model does not have is +ignored; the `orchestrator_capabilities` tool lists each model's options. +`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