Skip to content

Fix unsupported Codex OAuth default model in init#446

Closed
morluto wants to merge 2 commits into
HKUDS:mainfrom
morluto:codex/update-codex-default-model
Closed

Fix unsupported Codex OAuth default model in init#446
morluto wants to merge 2 commits into
HKUDS:mainfrom
morluto:codex/update-codex-default-model

Conversation

@morluto

@morluto morluto commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the OpenAI Codex OAuth default model from openai-codex/gpt-5.3-codex to openai-codex/gpt-5.4.

gpt-5.3-codex is no longer supported when using Codex with a ChatGPT account, so the previous default caused Codex OAuth runs initialized through Vibe-Trading to fail with:

The 'gpt-5.3-codex' model is not supported when using Codex with a ChatGPT account.

Changes

  • Replaces the Codex OAuth default model in provider metadata and legacy init config.
  • Updates .env.example to use openai-codex/gpt-5.4.
  • Adds OpenAI Codex to the newer vibe-trading init onboarding provider list.
  • Shows Codex-specific OAuth guidance in onboarding instead of treating all no-key providers as Ollama.
  • Updates/adds regression tests for Codex defaults and init behavior.

Related Issue

Fixes #445

Verification

.venv/bin/python -m pytest \
  agent/tests/test_openai_codex.py \
  agent/tests/test_cli_init.py \
  agent/tests/test_llm_provider_defaults.py \
  agent/tests/test_cli_interactive.py
87 passed

warren618 added a commit that referenced this pull request Jul 9, 2026
Fix Docker/server startup when mounted router-like routes do not expose path.
Preserve the first CLI turn entered at the resume prompt, align loader fetch signatures, refresh Codex OAuth defaults, add Kimi for Coding and opencode-compatible provider mappings, and clean up Tushare reference fence typos.

Fixes #450.
Integrates #437, #448, #446, #435, #449, #444.
Reported-by: Penn-Live
Co-authored-by: shadowinlife <shadowinlife@gmail.com>
Co-authored-by: morluto <williamlin1327@gmail.com>
Co-authored-by: Carls <yxhuang@uibe.edu.cn>
Co-authored-by: Sankalp Singh <iamsankz@gmail.com>
Co-authored-by: flash1234pku <53250768+flash1234pku@users.noreply.github.com>
@warren618

Copy link
Copy Markdown
Collaborator

Thanks @morluto. I integrated the Codex OAuth default model update into main in 04ccb21, including onboarding/provider default coverage for openai-codex/gpt-5.4. You are credited in the commit via Co-authored-by. Closing this PR because the equivalent change is now on main.

@warren618 warren618 closed this Jul 9, 2026
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.

Update Codex OAuth default model used by init

2 participants