Problem
code-gpt-5.3-codex-spark / gpt-5.3-codex-spark appears to be drifting from an always-available built-in selector to a limited or unavailable model path.
Current repo behavior still advertises Spark in several user-facing and runtime defaults:
code-rs/core/src/agent_defaults.rs includes code-gpt-5.3-codex-spark as a built-in agent selector and maps it to --model gpt-5.3-codex-spark.
code-rs/common/src/model_presets.rs, code-rs/tui/src/bottom_pane/model_selection_view.rs, and code-rs/tui/src/remote_model_presets.rs expose gpt-5.3-codex-spark in model selection paths.
README.md, docs/agents.md, docs/config.md, and docs/slash-commands.md still document Spark as a default or supported selector.
code-rs/core/src/codex/streaming.rs uses Spark as the auto-context judge primary model.
Evidence suggesting this may no longer be safe:
- OpenAI's public model index currently lists GPT-5.2-Codex, GPT-5.1-Codex, GPT-5.1-Codex-Max, GPT-5-Codex, and GPT-5.1 Codex mini, but not
gpt-5.3-codex-spark: https://platform.openai.com/docs/models
- The Spark launch post describes GPT-5.3-Codex-Spark as a ChatGPT Pro research preview on Cerebras, not necessarily a generally available API model: https://openai.com/index/introducing-gpt-5-3-codex-spark/
- The code already has tests/handling for
The requested model 'gpt-5.3-codex-spark' does not exist. in code-rs/core/src/client.rs, which is a strong hint that this failure mode is real.
- Local API probe could not be run from this session because
OPENAI_API_KEY is unset.
Suggested Scope
- Verify current availability for ChatGPT-auth Codex, API-key Codex, and Pro-only capability paths.
- If Spark is unavailable or account-gated, stop advertising
code-gpt-5.3-codex-spark as a default built-in selector for unsupported auth contexts.
- Replace Spark-dependent internal defaults, especially auto-context judge primary model, with a stable available model or a capability-aware fallback.
- Update docs and prompt examples so users are not steered toward a selector that fails immediately.
- Add/adjust tests around selector filtering and model-not-found fallback behavior.
Acceptance Criteria
- Unsupported users do not see or receive
code-gpt-5.3-codex-spark as a default agent/model selector.
- Spark remains available only when capability detection confirms the account can use it, or it is removed entirely if no supported path exists.
- Auto-context/model fallback behavior avoids hard failures when Spark is missing.
- Docs match the new selector behavior.
Problem
code-gpt-5.3-codex-spark/gpt-5.3-codex-sparkappears to be drifting from an always-available built-in selector to a limited or unavailable model path.Current repo behavior still advertises Spark in several user-facing and runtime defaults:
code-rs/core/src/agent_defaults.rsincludescode-gpt-5.3-codex-sparkas a built-in agent selector and maps it to--model gpt-5.3-codex-spark.code-rs/common/src/model_presets.rs,code-rs/tui/src/bottom_pane/model_selection_view.rs, andcode-rs/tui/src/remote_model_presets.rsexposegpt-5.3-codex-sparkin model selection paths.README.md,docs/agents.md,docs/config.md, anddocs/slash-commands.mdstill document Spark as a default or supported selector.code-rs/core/src/codex/streaming.rsuses Spark as the auto-context judge primary model.Evidence suggesting this may no longer be safe:
gpt-5.3-codex-spark: https://platform.openai.com/docs/modelsThe requested model 'gpt-5.3-codex-spark' does not exist.incode-rs/core/src/client.rs, which is a strong hint that this failure mode is real.OPENAI_API_KEYis unset.Suggested Scope
code-gpt-5.3-codex-sparkas a default built-in selector for unsupported auth contexts.Acceptance Criteria
code-gpt-5.3-codex-sparkas a default agent/model selector.