feat(models): add gpt-5.3-codex model support#11
feat(models): add gpt-5.3-codex model support#11professional-ALFIE wants to merge 1 commit intoiam-brain:mainfrom
Conversation
- Add "gpt-5.3-codex" to MODEL_FAMILIES as the first (latest) model - Add prompt and cache file mappings (reusing gpt-5.2-codex files) - Add getModelFamily() pattern recognition for gpt-5.3-codex - Add AccountManager initial values for gpt-5.3-codex All tests passing (446/446)
|
Hi @professional-ALFIE, I've just finished a massive refactor of the plugin and brought in 5.3 + added logic for automatic enablement of future models as well. To achieve that, I had to dig into how Codex officially handles this logic & data and this plugin required a massive overhaul + refactor to use data served by the validation servers at OpenAI, PR #12 handles all of it and will be wrapped up as soon as possible. If you pull the current main & build locally, GPT-5.3 is already enabled preliminarily :) |
|
@professional-ALFIE wanted to give you an update - unfortunately, the route I decided to go with this in reworking this plugin resulted in lackluster performance during use. forking from 4.6.0 and patching in 5.3 is your best choice for this plugin until my new plugin is done. Currently wrapping up dev on a novel plugin based on the native openai plugin that should work a lot better with proper codex spoofing, better integration into opencode as it updates over time, and less jank that i've found to be core to the original plugin I forked here.. Should be ready before the weekend comes around, just need to flesh it out and do more testing. |
Summary (요약)
Summary (English)
Changes
lib/constants.tslib/prompts/codex.tslib/accounts.tsTesting
npm run typecheckpassednpm test446/446 tests passedtest/models-gpt-5.3-codex.test.ts4 tests passedThe official
gpt-5.3-codex_prompt.mdfile does NOT exist yet in the upstream repository.As of now, the OpenAI codex repository (codex-rs/core) only has:
gpt-5.2-codex_prompt.mdgpt-5.1-codex-max_prompt.mdgpt_5_codex_prompt.mdgpt_5_1_prompt.mdgpt_5_2_prompt.mdThere is no
gpt-5.3-codex_prompt.mdfile available.Current workaround: This PR reuses
gpt-5.2-codex_prompt.mdfor gpt-5.3-codex. In my proxy testing, this works without issues - no 400/500 errors occurred when calling via Codex OAuth.When the official prompt file becomes available, only the mapping in
lib/prompts/codex.tsneeds to be updated.