Skip to content

feat: codex 5.4 default and pass to model#1479

Merged
k11kirky merged 1 commit intomainfrom
04-03-feat_codex_5.4_default_and_pass_to_model
Apr 6, 2026
Merged

feat: codex 5.4 default and pass to model#1479
k11kirky merged 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

@k11kirky k11kirky force-pushed the 04-03-feat_codex_5.4_default_and_pass_to_model branch from c5a32b2 to 2ba30f5 Compare April 6, 2026 21:16
Copy link
Copy Markdown
Contributor Author

k11kirky commented Apr 6, 2026

Merge activity

  • Apr 6, 9:47 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Apr 6, 9:47 PM UTC: @k11kirky merged this pull request with Graphite.

@k11kirky k11kirky merged commit 354a624 into main Apr 6, 2026
16 checks passed
@k11kirky k11kirky deleted the 04-03-feat_codex_5.4_default_and_pass_to_model branch April 6, 2026 21:47
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