Skip to content

fix: support --model for codex sessions#128

Open
Asm3r96 wants to merge 1 commit intoopenclaw:mainfrom
Asm3r96:fix-codex-model-flag
Open

fix: support --model for codex sessions#128
Asm3r96 wants to merge 1 commit intoopenclaw:mainfrom
Asm3r96:fix-codex-model-flag

Conversation

@Asm3r96
Copy link

@Asm3r96 Asm3r96 commented Mar 12, 2026

Summary

  • apply Codex --model after session/new via session/set_config_option
  • normalize common Codex model aliases like GPT-5-2 to gpt-5.2
  • add tests and sync Codex-facing docs

Closes #49

Validation

  • used Codex to help develop this PR
  • tested locally against a real running Codex session and confirmed the requested model was applied
  • ran local tests with pnpm run test and they passed
  • did a manual human end-to-end check locally

Notes

  • pnpm run check in this environment still fails at the repo-wide coverage gate due to overall baseline coverage totals that are unrelated to this change

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.

feat: add --model and --allowed-tools flags for agent passthrough

1 participant