feat(openai): default new setups to GPT-5.6 (#103581)

* feat(openai): default fresh setup to GPT-5.6

* test(crestodian): expect GPT-5.6 Codex defaults

* test(crestodian): expect GPT-5.6 bootstrap default
This commit is contained in:
Peter Steinberger
2026-07-10 10:22:58 +01:00
committed by GitHub
parent fc60a8e66b
commit ab5d143d59
39 changed files with 652 additions and 179 deletions

View File

@@ -171,19 +171,26 @@ instead of exiting. Explicit `--auth-choice` runs still fail fast for automation
<Accordion title="OpenAI Code subscription (OAuth)">
Browser flow; paste `code#state`.
Sets `agents.defaults.model` to `openai/gpt-5.5` through the Codex runtime when model is unset or already OpenAI-family.
On a fresh setup with no primary model, sets `agents.defaults.model` to
`openai/gpt-5.6-sol` through the Codex runtime.
</Accordion>
<Accordion title="OpenAI Code subscription (device pairing)">
Browser pairing flow with a short-lived device code.
Sets `agents.defaults.model` to `openai/gpt-5.5` through the Codex runtime when model is unset or already OpenAI-family.
On a fresh setup with no primary model, sets `agents.defaults.model` to
`openai/gpt-5.6-sol` through the Codex runtime.
</Accordion>
<Accordion title="OpenAI API key">
Uses `OPENAI_API_KEY` if present or prompts for a key, then stores the credential in auth profiles.
Sets `agents.defaults.model` to `openai/gpt-5.5` when model is unset, `openai/*`, or legacy Codex model refs.
On a fresh setup with no primary model, sets `agents.defaults.model` to
`openai/gpt-5.6`; the bare direct-API model id resolves to the Sol tier.
Adding or reauthenticating OpenAI preserves an existing explicit primary
model, including `openai/gpt-5.5`. If the account does not expose GPT-5.6,
select `openai/gpt-5.5` explicitly; OpenClaw does not silently downgrade it.
</Accordion>
<Accordion title="xAI (Grok) OAuth">