opencode feature request: keep tab's model when switching between plan and build agents

cleardevice · ghdev · 2026-10-11

A feature request for anomalyco/opencode asks that switching between plan and build agents with Tab preserve the tab's current model and variant selection. Currently each agent remembers its own last-used model, falling back to the global default or shared recent list when unconfigured. The author typically picks one model per task and switches modes several times, expecting it to stick. Proposal: agents without a configured model inherit the tab's selection, while agents with model in config keep current behavior for dedicated planning models; could be exposed as a session.agentmodel: "per-agent" | "shared" setting. A reference implementation is provided on top of #54367.

Original post →

More from coding & agent

coding & agent channel →