Preserve OpenCode agent switching on older hosts (#1570)
The coordinated model handoff made switchModel support a prerequisite for switching agents. Older V2 hosts that expose only switchAgent therefore stopped applying the approved agent selection. Follow OpenCode's sequential semantics instead: keep a successful agent switch when model switching is unavailable or fails, and warn about the model separately. A failed agent switch still prevents any model attempt.
R
Robert Dailey committed
d152695bc048de188f4fc868e270130dce246ecc
Parent: 2988df4
Committed by GitHub <noreply@github.com>
on 9/20/2026, 11:10:18 PM