Commit Graph
1 Commits
Author SHA1 Message Date
jgrodman-arch 56bb44c05c Support model and reasoning effort overrides in remote exec (#63462)
## Why

`codex exec --remote` rejected model and reasoning effort overrides,
so callers had to configure those settings on the app server.

## What changed

Accept `--model`, `-c model=...`, and `-c model_reasoning_effort=...`
when starting or resuming a remote thread. As in local exec, `--model`
takes precedence over `-c model=...`.

Explicit overrides update the remote thread for the current and
subsequent turns. Omitted settings retain the thread's current values
or use the server defaults for a new thread.

## Testing

Add CLI integration coverage for fresh and resumed threads, override
precedence, and inheritance across turns. Check that invalid or
unrelated overrides fail before connecting.

GitOrigin-RevId: 9bd18b65978962cf6f325feee1056d130e9e6b91
2026-11-23 23:13:28 +00:00