You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2c9bcf3
Browse filesBrowse the repository at this point in the historyBrowse files
fix(codex): keep /codex model scoped to the native binding (#128751)
* fix(codex): keep /codex model scoped to the native binding
/codex model wrote the outer OpenClaw session model override (and marked
a pending live model switch) any time a session context was present,
even for a thread bound through /codex bind. In a dual-runtime setup
that let a Codex-scoped model change silently redirect the next turn
to a different configured runtime. The binding store is now the sole
owner of this selection; only /model may change the outer session
override.
* fix(codex): make /codex model status binding-owned
The no-argument /codex model status read still preferred the outer
SessionEntry override over the native binding, so it could report a
stale model that diverged from what /codex model just wrote to the
binding. Read the binding first and fall back to the outer session
model only when no binding exists yet.
* fix(codex): preserve authoritative model selection ownership
Co-authored-by: chelsealong <[email protected]>
* fix(codex): retain session identity narrowing
---------
Co-authored-by: Peter Steinberger <[email protected]>
0 commit comments