openai-codex: add gpt-5.3-codex-spark forward-compat model#15174
openai-codex: add gpt-5.3-codex-spark forward-compat model#15174mbelinky merged 3 commits intoopenclaw:mainfrom
Conversation
|
Repro / user impact notes (why this exists):
This PR intentionally keeps the fix minimal and reversible by using the existing forward-compat template-clone fallback strategy (from |
|
Follow-up (quality-of-life): this branch now also updates This makes |
|
Additional validation (local):
This is intended to complement CI with an end-to-end-ish check of the exact OpenClaw provider path that previously failed. |
724dbfa to
c7d5682
Compare
c7d5682 to
1cc563d
Compare
1cc563d to
6cac87c
Compare
|
Merged via maintainer flow. What was done:
Traceability:
Thanks @loiie45e. |
…15174) Merged via maintainer flow after rebase + local gates. Prepared head SHA: 6cac87c Co-authored-by: loiie45e <[email protected]> Co-authored-by: mbelinky <[email protected]>
…15174) Merged via maintainer flow after rebase + local gates. Prepared head SHA: 6cac87c Co-authored-by: loiie45e <[email protected]> Co-authored-by: mbelinky <[email protected]>
…15174) Merged via maintainer flow after rebase + local gates. Prepared head SHA: 6cac87c Co-authored-by: loiie45e <[email protected]> Co-authored-by: mbelinky <[email protected]>
…15174) Merged via maintainer flow after rebase + local gates. Prepared head SHA: 6cac87c Co-authored-by: loiie45e <[email protected]> Co-authored-by: mbelinky <[email protected]>
…15174) Merged via maintainer flow after rebase + local gates. Prepared head SHA: 6cac87c Co-authored-by: loiie45e <[email protected]> Co-authored-by: mbelinky <[email protected]>
…15174) Merged via maintainer flow after rebase + local gates. Prepared head SHA: 6cac87c Co-authored-by: loiie45e <[email protected]> Co-authored-by: mbelinky <[email protected]>
…15174) Merged via maintainer flow after rebase + local gates. Prepared head SHA: 6cac87c Co-authored-by: loiie45e <[email protected]> Co-authored-by: mbelinky <[email protected]>
…15174) Merged via maintainer flow after rebase + local gates. Prepared head SHA: 6cac87c Co-authored-by: loiie45e <[email protected]> Co-authored-by: mbelinky <[email protected]>
Problem
openai-codex/gpt-5.3-codex-sparkcan be available in Codex (and works via Codex CLI), but OpenClaw can currently reject it as Unknown model because it is not yet present in the discovered model registry (often showing asconfigured,missing). This can crash runs when the model is selected.What this PR changes
gpt-5.3-codex-sparkas a forward-compatible OpenAI Codex model id (same bucket asgpt-5.3-codex).gpt-5.2-codextemplate. This preserves critical OpenClaw Codex wiring (notablyapi: openai-codex-responsesand the Codex baseUrl), and avoids immediateUnknown modelerrors.gpt-5.3-codex-sparkin the Codex allowlist used by live model filtering.Why template-clone from gpt-5.2-codex
OpenClaw already uses template cloning as a forward-compat strategy for new model ids where the provider transport is unchanged.
gpt-5.2-codexis the closest known-good Codex template and ensures we keep the Codex-specific API/endpoint behavior rather than falling back to a generic OpenAI provider config.Tests
openai-codex/gpt-5.3-codex-sparkvia the forward-compat fallback path (template fromgpt-5.2-codex).npx vitest run src/agents/pi-embedded-runner/model.test.tsGreptile Overview
Greptile Summary
This PR adds forward-compat support for the OpenAI Codex model id
gpt-5.3-codex-spark.src/agents/pi-embedded-runner/model.tsextends the existing Codex forward-compat fallback so that whenopenai-codex/gpt-5.3-codex-sparkis requested but missing from the discovered model registry, OpenClaw clones thegpt-5.2-codextemplate (preserving api/baseUrl/contextWindow/maxTokens) to avoid anUnknown modelerror.src/agents/live-model-filter.tsaddsgpt-5.3-codex-sparkto the CODEX_MODELS allowlist used by live model filtering.src/agents/pi-embedded-runner/model.test.tsadds unit coverage ensuring the forward-compat fallback resolvesopenai-codex/gpt-5.3-codex-sparkusing thegpt-5.2-codextemplate.I didn’t find any must-fix issues introduced by these changes.
Confidence Score: 5/5
Last reviewed commit: 1349841
(2/5) Greptile learns from your feedback when you react with thumbs up/down!