Skip to content

feat(openai): add GPT-5.6 series support - #98333

Merged
steipete merged 6 commits into
mainfrom
codex/gpt-5-6-series
Jul 1, 2026
Merged

steipete merged 6 commits into
mainfrom
codex/gpt-5-6-series

Conversation

@steipete

@steipete steipete commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Closes #98296

Related: #98021 (ultra orchestration remains separate)

What Problem This Solves

OpenClaw does not recognize the limited-preview GPT-5.6 Sol, Terra, and Luna model IDs across its direct OpenAI, ChatGPT/Codex OAuth, simple-completion, and Codex App Server paths. Users with preview access cannot select the models reliably or use their max reasoning effort, and stale fallback metadata can route them with the wrong transport or effort.

Why This Change Was Made

Add the three public GPT-5.6 model contracts with current preview pricing, 372k context metadata, text/image input, and model-aware minimal/max reasoning normalization while keeping openai/gpt-5.5 as the default. Upgrade the Codex App Server package to 0.142.4, refresh its generated protocol schemas and documented model snapshot, and treat live App Server reasoning metadata as authoritative without mistaking synthetic fallback rows for live capability data.

User Impact

Organizations with GPT-5.6 preview access can use openai/gpt-5.6-sol, openai/gpt-5.6-terra, and openai/gpt-5.6-luna through API-key, ChatGPT/Codex OAuth, simple-completion, and Codex App Server workflows. max is preserved for the series, unsupported minimal requests normalize to low, older/Azure routes retain their prior clamps, and GPT-5.5 remains the default.

Evidence

  • Official contract checked against OpenAI's GPT-5.6 preview announcement, preview access/pricing details, and model-selection guidance.
  • Live E2E: openclaw agent --local --model openai/gpt-5.6-luna --thinking max returned the exact expected reply with provider openai, model gpt-5.6-luna, harness codex, 372000 context tokens, thinking=max, no fallback, and a successful stop.
  • Exact @openai/codex 0.142.4 model/list discovery confirmed the public Sol/Terra/Luna rows and supported efforts; protocol schemas were regenerated from the matching rust-v0.142.4 tag.
  • Blacksmith Testbox tbx_01kwdmwncj2atwwfatz3144jkx: 303 focused changed-surface tests passed across OpenAI, agent, Codex, and App Server shards; pnpm tsgo:all passed.
  • pnpm build, focused oxlint, and git diff --check passed.
  • Fresh local autoreview completed with no accepted/actionable findings.

@steipete
steipete requested a review from a team as a code owner July 1, 2026 02:14
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation agents Agent runtime and tooling extensions: openai extensions: codex size: XL maintainer Maintainer-authored PR labels Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

  • extensions/codex/npm-shrinkwrap.json
  • extensions/codex/package.json
  • pnpm-lock.yaml

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfile, shrinkwrap, or workspace dependency policy changes are present.
  • Treat package-lock.json and npm-shrinkwrap.json diffs as security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph changes noted

This PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of @openclaw/openclaw-secops.

  • Current SHA: a950aac803166cf34af162579366fe6486046fed
  • Trusted actor: @steipete
  • Trusted role: pull request author; openclaw-secops

Security review is still recommended before merge when the dependency graph change is intentional.

@clawsweeper

clawsweeper Bot commented Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed July 1, 2026, 12:51 AM ET / 04:51 UTC.

Summary
Adds GPT-5.6 Sol/Terra/Luna metadata and reasoning handling across OpenAI, Codex app-server, simple completion, docs, tests, and a Codex 0.142.4 dependency/schema refresh.

PR surface: Source +565, Tests +459, Docs +28, Config 0, Other 0. Total +1052 across 46 files.

Reproducibility: yes. source inspection shows a metadata-backed model advertising only high still returns minimal because the resolver only remaps minimal when max is also supported.

Review metrics: 3 noteworthy metrics.

  • Model Catalog Entries: 3 added. Sol, Terra, and Luna become new user-selectable OpenAI model IDs across static and dynamic provider paths.
  • Codex Harness Dependency: 0.139.0 -> 0.142.4. The bundled Codex app-server package is executable runtime supply chain and protocol surface.
  • Generated App-Server Schemas: 5 schema files changed. Generated protocol schemas must match the pinned Codex app-server version before merge.

Stored data model
Persistent data-model change detected: vector/embedding metadata: extensions/codex/src/app-server/thread-lifecycle.test.ts, vector/embedding metadata: extensions/openai/openai-chatgpt-provider.test.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster
Relationship: fixed_by_candidate
Canonical: #98296
Summary: This PR is the candidate implementation for the canonical GPT-5.6 Sol/Terra/Luna support issue; the Ultra thinking PR is related but intentionally distinct.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge readiness
Overall: 🦐 gold shrimp
Proof: 🦞 diamond lobster
Patch quality: 🦐 gold shrimp
Result: needs maintainer review before merge.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P2] Fix live metadata-backed minimal effort normalization and add the focused regression test.
  • [P2] Rerun the focused OpenAI Responses/provider tests after the repair.

Risk before merge

  • [P1] Current head can still send unsupported minimal reasoning for live metadata-backed OpenAI/Codex OAuth rows whose supportedReasoningEfforts start above minimal.
  • [P1] The @openai/codex 0.139.0 to 0.142.4 bump plus generated app-server protocol refresh changes executable runtime and protocol surface, so maintainer dependency review remains required.
  • [P1] GPT-5.6 preview pricing, entitlement, and supported-effort metadata are time-sensitive and should be rechecked at merge time for the selected release train.

Maintainer options:

  1. Fix Metadata-Backed Effort Normalization (recommended)
    Route OpenAI models with compat.supportedReasoningEfforts through the model-aware resolver before building Responses/Codex payloads, including rows that do not support max.
  2. Keep Dependency Review Explicit
    After the normalization fix, review the pinned @openai/codex 0.142.4 package, shrinkwrap, lockfile, and generated schemas as an intentional runtime/protocol upgrade.
  3. Pause Until Preview Metadata Settles
    Maintainers may defer the PR if they do not want to ship limited-preview model IDs, pricing, or effort metadata before the OpenAI contract stabilizes.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Repair `resolveResponsesReasoningEffort` so OpenAI models with `compat.supportedReasoningEfforts` always route requested reasoning through `resolveOpenAIReasoningEffortForModel` before sending a Responses/Codex Responses payload, including rows that do not support `max`; add a focused regression test for a live metadata-backed model with `supportedReasoningEfforts: ["high"]` where `/think minimal` sends `high`, while keeping GPT-5.6 `max` and default-off behavior unchanged.

Next step before merge

  • [P2] A narrow source-level repair can address the current-head reasoning normalization bug before maintainers make the final dependency and preview-model merge decision.

Security
Cleared: No concrete security or supply-chain defect was found; the Codex dependency bump is pinned in shrinkwrap/lockfile metadata but remains a maintainer review surface.

Review findings

  • [P2] Honor live reasoning metadata for minimal requests — src/llm/providers/openai-responses-shared.ts:489-492
Review details

Best possible solution:

Fix live metadata-backed minimal normalization, then merge only after maintainers accept the GPT-5.6 preview contract and Codex 0.142.4 dependency/protocol refresh.

Do we have a high-confidence way to reproduce the issue?

Yes, source inspection shows a metadata-backed model advertising only high still returns minimal because the resolver only remaps minimal when max is also supported.

Is this the best way to solve the issue?

No, not yet; provider-owned catalog metadata and shared reasoning normalization are the right layer, but the current normalization condition is too narrow for non-GPT-5.6 live effort metadata.

Full review comments:

  • [P2] Honor live reasoning metadata for minimal requests — src/llm/providers/openai-responses-shared.ts:489-492
    This path only normalizes minimal through resolveOpenAIReasoningEffortForModel when the model also supports max. Live Codex/OAuth rows can now carry narrower metadata without minimal or max support, such as the branch's gpt-5.3-codex-spark fixture with only high; /think minimal will still be sent as minimal instead of the closest supported effort. Route metadata-backed OpenAI models through the model-aware resolver regardless of max support.
    Confidence: 0.88

Overall correctness: patch is incorrect
Overall confidence: 0.89

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against d68ba5edc598.

Label changes

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.

Label justifications:

  • P2: This is normal-priority preview provider/model support with one bounded correctness defect and no active shipped outage shown.
  • merge-risk: 🚨 compatibility: The PR changes user-selectable model metadata, generated Codex app-server schemas, and an executable Codex dependency that can affect upgrades and runtime behavior.
  • merge-risk: 🚨 auth-provider: The PR changes OpenAI/Codex model selection, OAuth-backed catalog behavior, and reasoning-effort routing for provider requests.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (live_output): The PR body and follow-up comments include after-change live CLI output for GPT-5.6 max and off, plus Testbox and local validation summaries.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body and follow-up comments include after-change live CLI output for GPT-5.6 max and off, plus Testbox and local validation summaries.
Evidence reviewed

PR surface:

Source +565, Tests +459, Docs +28, Config 0, Other 0. Total +1052 across 46 files.

View PR surface stats
Area Files Added Removed Net
Source 27 676 111 +565
Tests 14 474 15 +459
Docs 3 40 12 +28
Config 1 1 1 0
Generated 0 0 0 0
Other 1 29 29 0
Total 46 1220 168 +1052

Acceptance criteria:

  • [P1] node scripts/run-vitest.mjs src/llm/providers/openai-responses-shared.test.ts src/llm/providers/openai-chatgpt-responses.test.ts extensions/openai/openai-provider.test.ts extensions/openai/openai-chatgpt-provider.test.ts src/llm/providers/stream-wrappers/openai.test.ts.
  • [P1] git diff --check.

What I checked:

  • AGENTS policy read: Root and relevant scoped AGENTS.md files were read and applied for provider, plugin SDK, plugin discovery, agents, and docs review policy. (AGENTS.md:1, d68ba5edc598)
  • Live PR state: this PR is open, mergeable, non-draft, at head e512dba, with 46 changed files, +1220/-168, proof: sufficient, dependencies-changed, merge-risk: 🚨 compatibility, and merge-risk: 🚨 auth-provider labels. (e512dbaa5353)
  • Static GPT-5.6 catalog rows: The PR adds Sol, Terra, and Luna OpenAI model rows with 372000 context, thinkingLevelMap including off: null, and supported efforts low through max. (extensions/openai/openclaw.plugin.json:106, e512dbaa5353)
  • Live Codex metadata propagation: Live Codex model rows now project supportedReasoningEfforts into compat and set GPT-5.6 off: null, xhigh, and max thinking metadata from live reasoning levels. (extensions/openai/openai-provider.ts:350, e512dbaa5353)
  • Current-head defect: resolveResponsesReasoningEffort only routes minimal through the model-aware resolver when the model also supports max, so metadata-backed rows without minimal or max still return minimal. (src/llm/providers/openai-responses-shared.ts:489, e512dbaa5353)
  • Affected fixture shape: The PR itself includes a live OAuth/Codex fixture for gpt-5.3-codex-spark whose only advertised reasoning effort is high, demonstrating a metadata shape that the current normalization condition does not handle for /think minimal. (extensions/openai/openai-provider.test.ts:390, e512dbaa5353)

Likely related people:

  • steipete: Peter Steinberger has the most sampled history on the OpenAI/Codex provider, reasoning, and app-server lifecycle files, including prior merged work on OpenAI minimal reasoning and Codex app-server seams; this is independent of being the current PR author. (role: recent provider/runtime contributor; confidence: high; commits: 3fdc70a434, 659bcc5e5b, 3b65e2302a; files: extensions/openai/openai-provider.ts, extensions/openai/openai-chatgpt-provider.ts, src/llm/providers/openai-responses-shared.ts)
  • vincentkoc: Recent history shows Vincent Koc carrying OpenAI/Codex auth, response transport, and provider stream work adjacent to the surfaces this PR changes. (role: recent OpenAI/Codex provider contributor; confidence: high; commits: e085fa1a3f, 4a4f52b097, 859eb06662; files: extensions/openai/openai-provider.ts, src/agents/openai-reasoning-effort.ts, extensions/codex/provider.ts)
  • Wynne668: Current main blame around the pre-PR resolveResponsesReasoningEffort return path points to fix(cron): clear agentTurn thinking override by blanking the field #96293, so this is useful routing context for nearby reasoning-normalization history without implying fault for the PR branch. (role: recent adjacent contributor; confidence: medium; commits: ba3f68030b87; files: src/llm/providers/openai-responses-shared.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 12ddccfaf8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread extensions/openai/openclaw.plugin.json Outdated
"contextWindow": 372000,
"maxTokens": 128000,
"cost": { "input": 5, "output": 30, "cacheRead": 0.5, "cacheWrite": 6.25 },
"thinkingLevelMap": { "xhigh": "xhigh", "max": "max" },

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Set GPT-5.6 off mapping to avoid unsupported none

When a GPT-5.6 model is used through the direct openai-responses path with no explicit /think level (or with /think off), applyCommonResponsesParams still emits reasoning: { effort: model.thinkingLevelMap?.off ?? "none" }; these new rows only map xhigh/max, while src/agents/openai-reasoning-effort.ts:35 declares GPT-5.6 support as low through max and not none. That makes ordinary direct API-key calls for gpt-5.6-sol/terra/luna send an unsupported none effort unless the user explicitly chooses an enabled level, so add off: null (or otherwise suppress the default-off payload) for the GPT-5.6 rows and matching dynamic metadata.

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jul 1, 2026
@steipete

steipete commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Land-ready evidence for b54ff8532f361293043a8b4409e0442b3f310900:

  • Live E2E: node openclaw.mjs agent --local --agent main --session-id gpt56-live-e2e-20260630 --model openai/gpt-5.6-luna --thinking max --message "Reply with exactly OPENCLAW_GPT56_LIVE_OK" --timeout 600 --json returned the exact expected reply with provider openai, model gpt-5.6-luna, harness codex, 372000 context tokens, thinking=max, no fallback, and stop.
  • Blacksmith Testbox tbx_01kwdmwncj2atwwfatz3144jkx: 303 focused OpenAI/agent/Codex/App Server tests passed; pnpm tsgo:all passed.
  • Local: pnpm build, focused oxlint, pnpm docs:map:check, and git diff --check passed.
  • Codex autoreview completed with no accepted/actionable findings; the final generated docs-map fix was separately reviewed clean at 0.99 confidence.
  • GitHub CI: 66 checks passed. The only initial failure was an untouched mocked claude-cli reliability test in checks-node-compact-large-3; the isolated retry passed on the same SHA.

The default remains openai/gpt-5.5. The Codex App Server package/schema/model snapshot is updated to @openai/codex 0.142.4, and GPT-5.6 ultra orchestration remains scoped to #98021.

@steipete steipete self-assigned this Jul 1, 2026
@steipete

steipete commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The default-off blocker is fixed in 55fb0995d3. GPT-5.6 now publishes off: null, preserves explicit registry overrides, and carries thinkingLevelMap through manifest normalization plus every static/live/fallback runtime projection, so disabled reasoning is omitted instead of sending unsupported reasoning.effort: "none".

Fresh proof:

  • Live: openclaw agent --local --model openai/gpt-5.6-luna --thinking off returned exactly OPENCLAW_GPT56_OFF_OK, provider openai, model gpt-5.6-luna, Codex harness, 372000 context tokens, no fallback, and stop.
  • Focused tests: model-catalog normalization, manifest round-trip, direct Responses payload, OpenAI static/live/dynamic catalogs, OAuth registry fallback, and both generic static projections passed.
  • pnpm tsgo:all, pnpm build, focused oxlint, formatting, and git diff --check passed.
  • Dependency report: exactly one resolved package changed, @openai/codex 0.139.0 -> 0.142.4; no packages added or removed.
  • Final Codex autoreview: no accepted/actionable findings, overall correct at 0.96 confidence.

@clawsweeper

clawsweeper Bot commented Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 55fb0995d3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +488 to +492
if (
clampedReasoning === "minimal" &&
model.provider === "openai" &&
supportsOpenAIReasoningEffort(model, "max")
) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Normalize minimal using live effort metadata

When the live Codex/OAuth catalog supplies compat.supportedReasoningEfforts without minimal (for example this same change's test fixture has gpt-5.3-codex-spark supporting only high, and stricter rows can start at medium), /think minimal still returns minimal here because the remap only runs for max-capable GPT-5.6 models. streamSimpleOpenAICodexResponses passes this result straight into the request body, so those newly metadata-backed models still send an unsupported effort instead of the closest supported value; use resolveOpenAIReasoningEffortForModel whenever supported-effort metadata is present, not only when max is supported.

Useful? React with 👍 / 👎.

@steipete

steipete commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

chenyangjun-xy pushed a commit to chenyangjun-xy/openclaw that referenced this pull request Jul 1, 2026
* feat(openai): add GPT-5.6 series support

* docs: refresh map for GPT-5.6

* fix(openai): preserve GPT-5.6 thinking metadata

* fix(codex): sync managed app server version

* fix(codex): sync managed app server version

* fix(openai): account for GPT-5.6 cache writes

---------

Co-authored-by: Peter Steinberger <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 2, 2026
* feat(openai): add GPT-5.6 series support

* docs: refresh map for GPT-5.6

* fix(openai): preserve GPT-5.6 thinking metadata

* fix(codex): sync managed app server version

* fix(codex): sync managed app server version

* fix(openai): account for GPT-5.6 cache writes

---------

Co-authored-by: Peter Steinberger <[email protected]>
steipete added a commit that referenced this pull request Jul 11, 2026
* feat(openai): add GPT-5.6 series support

* docs: refresh map for GPT-5.6

* fix(openai): preserve GPT-5.6 thinking metadata

* fix(codex): sync managed app server version

* fix(codex): sync managed app server version

* fix(openai): account for GPT-5.6 cache writes

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit c52583a)
susyimes pushed a commit to susyimes/openclaw that referenced this pull request Jul 21, 2026
* feat(openai): add GPT-5.6 series support

* docs: refresh map for GPT-5.6

* fix(openai): preserve GPT-5.6 thinking metadata

* fix(codex): sync managed app server version

* fix(codex): sync managed app server version

* fix(openai): account for GPT-5.6 cache writes

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit c52583a)
RomneyDa added a commit that referenced this pull request Jul 31, 2026
* feat(openai): add GPT-5.6 series support (#98333)

* feat(openai): add GPT-5.6 series support

* docs: refresh map for GPT-5.6

* fix(openai): preserve GPT-5.6 thinking metadata

* fix(codex): sync managed app server version

* fix(codex): sync managed app server version

* fix(openai): account for GPT-5.6 cache writes

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit c52583a)

* feat(openai): default 2026.6.34 to GPT-5.6

Adapted for the extended-stable maintenance branch from the fresh-setup and active-default migrations. Existing explicit primaries remain unchanged, GPT-5.5 stays available as an explicit recovery choice, and Ultra is intentionally excluded.

(cherry picked from commit ab5d143)
(cherry picked from commit fa77fe1)

* test(codex): update GPT-5.6 media default expectation

* feat(openai): keep million-token context opt-in

Adapted from upstream follow-up 9f13f9b.
(cherry picked from commit 9f13f9b)

* fix(openai): harden GPT-5.6 Codex discovery

Adapted from upstream hardening a5d1d9e.
(cherry picked from commit a5d1d9e)

* fix(openai): refresh GPT-5.6 tier pricing

* test: align GPT-5.6 default fixtures

* test: update remaining GPT-5.6 defaults

* fix(openai): correct GPT-5.6 tier pricing

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Dallin Romney <[email protected]>
0xDe1ty pushed a commit to 0xDe1ty/openclaw that referenced this pull request Sep 22, 2026
* feat(openai): add GPT-5.6 series support

* docs: refresh map for GPT-5.6

* fix(openai): preserve GPT-5.6 thinking metadata

* fix(codex): sync managed app server version

* fix(codex): sync managed app server version

* fix(openai): account for GPT-5.6 cache writes

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit c52583a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: android App: android app: ios App: ios app: web-ui App: web-ui channel: whatsapp-web Channel integration: whatsapp-web cli CLI command changes commands Command implementations dependencies-changed PR changes dependency-related files docs Improvements or additions to documentation extensions: codex extensions: copilot extensions: diagnostics-otel Extension: diagnostics-otel extensions: openai extensions: qa-lab gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts security Security documentation size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Support GPT-5.6 Sol, Terra, and Luna

1 participant