Skip to content

feat: codex 5.4 default and pass to model#1479

Open
k11kirky wants to merge 1 commit intomainfrom
04-03-feat_codex_5.4_default_and_pass_to_model
Open

feat: codex 5.4 default and pass to model#1479
k11kirky wants to merge 1 commit intomainfrom
04-03-feat_codex_5.4_default_and_pass_to_model

Conversation

@k11kirky
Copy link
Copy Markdown
Contributor

@k11kirky k11kirky commented Apr 3, 2026

Problem

Codex was not respecting model choice
Default changed to 5.4

Changes

  • Added DEFAULT_CODEX_MODEL constant set to "gpt-5.4" in gateway-models.ts
  • Updated model selection logic to prefer the default Codex model when available, falling back to the first model only if the default is not in the available options
  • Passed the resolved model parameter to the Agent constructor to ensure consistent model usage

How did you test this?

Manual

Copy link
Copy Markdown
Contributor Author

k11kirky commented Apr 3, 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.

2 participants