Agent view overrides session model on attach

Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened May 13, 2026 · closed May 14, 2026

When attaching to a session from agent view, the session model changes to the agent view's default model instead of preserving the original session model.

View original on GitHub ↗

3 Comments

github-actions[bot] · 5 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/58259

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

SirDrope · 5 months ago

👎 This is not a duplicate of #58259.

While both issues involve Agent View session attachment, they describe different bugs:

  • #58259 reports that attaching a session via /bg causes Agent View to send a continue command that gets interpreted as user input, interfering with the session's progress.
  • This issue (#58594) reports that when an existing session is attached to Agent View, the session's active model is overridden by Agent View's default model — meaning the model configuration is lost and must be manually restored after attach.

The root cause and the affected subsystem are different. This issue is specifically about model state not being preserved during the attach lifecycle, not about unintended input injection.

github-actions[bot] · 3 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.