Skip to content

🤖 fix: add gpt-5.3-codex-spark model override#2395

Open
ammar-agent wants to merge 1 commit intomainfrom
fix/gpt-5-3-codex-spark-override
Open

🤖 fix: add gpt-5.3-codex-spark model override#2395
ammar-agent wants to merge 1 commit intomainfrom
fix/gpt-5-3-codex-spark-override

Conversation

@ammar-agent
Copy link
Collaborator

Summary

Add a local models-extra.ts override for OpenAI's newly announced gpt-5.3-codex-spark model so pricing/token accounting and capability checks work before upstream models.json catches up.

Background

The model appeared after our current upstream model snapshot, and user workflows rely on local override data for cost/context UI and routing metadata.

Implementation

  • Added gpt-5.3-codex-spark to src/common/utils/tokens/models-extra.ts.
  • Set context/output to 128k and marked the model as text-only (supports_vision: false) based on launch details.
  • Added focused tests in:
    • src/common/utils/tokens/modelStats.test.ts
    • src/common/utils/ai/modelCapabilities.test.ts

Validation

  • make static-check
  • bun test src/common/utils/tokens/modelStats.test.ts src/common/utils/ai/modelCapabilities.test.ts

Risks

Low. Change is additive and isolated to model metadata lookup paths.


Generated with mux • Model: openai:gpt-5.3-codex • Thinking: xhigh • Cost: $0.00

Add a models-extra override for gpt-5.3-codex-spark using the newly published
Codex metadata (128k context and text-only capabilities), and add focused tests
for model stats and capability lookup behavior.

---

_Generated with `mux` • Model: `openai:gpt-5.3-codex` • Thinking: `xhigh` • Cost: `$0.00`_

<!-- mux-attribution: model=openai:gpt-5.3-codex thinking=xhigh costs=0.00 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant