openclaw - 💡(How to fix) Fix Session model override from Codex persists in unrelated sessions (e.g. Telegram)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fix / Workaround

Workaround: Run /reset manually after using Codex with a different model/auth profile.

Code Example

⚠️ Reason: session override
⚠️ This session is pinned to github-copilot/claude-sonnet-4.6; config primary openai/gpt-5.5 will apply to new/unpinned sessions.
RAW_BUFFERClick to expand / collapse

Bug Report

Summary: When selecting a model in Codex that uses a different auth profile (e.g. github-copilot/claude-sonnet-4.6 with a secondary OAuth account), the model override gets pinned to the main session key (e.g. agent:luis:telegram:direct:...), affecting unrelated sessions like a Telegram direct chat.

Steps to reproduce:

  1. Have a main session (e.g. Telegram direct chat) using the default model (openai/gpt-5.5)
  2. Open Codex and select a model that uses a different auth profile (e.g. github-copilot/claude-sonnet-4.6 via secondary OAuth account)
  3. Return to the Telegram session
  4. Run /status — the session is now pinned to the Codex model with a session override warning

Expected behavior: Model overrides made inside Codex should be scoped to the Codex session only and not leak to other sessions sharing the same agent.

Actual behavior: The Codex model override persists in the main Telegram session, showing:

⚠️ Reason: session override
⚠️ This session is pinned to github-copilot/claude-sonnet-4.6; config primary openai/gpt-5.5 will apply to new/unpinned sessions.

Workaround: Run /reset manually after using Codex with a different model/auth profile.

Environment:

  • OpenClaw 2026.5.27
  • Channel: Telegram direct chat
  • Codex model: github-copilot/claude-sonnet-4.6 (secondary OAuth account)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Session model override from Codex persists in unrelated sessions (e.g. Telegram)