[Bug] Model silently switches from 1M to non-1M Opus mid-session, causing unrecoverable API Error

Open 💬 5 comments Opened Jun 20, 2026 by gabrielshanahan

Bug Description
For reasons I cannot understand, from time to time my model gets switched in the background for non-1m opus. This manifests as me seeing "API Error" with no explanation and no way to circumvent it other than kill the session and start over in a new session, --resume doesn't work. The only thing I notice is that when I kill the session and then --resume it, I'm suddenly on non-1m opus, for reasons I cannot understand. I have not touched the model, yet it suddenly changes and irreversably screws things up

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.185
  • Feedback ID: 7e0d21c3-0636-4dc2-9828-e537d8437902

Errors

[]

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗