mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-21 16:52:40 +00:00
Switching an OpenCode v2 chat to another model carried the previous model's variant over. OpenCode rejects a prompt whose variant the model does not offer, so every message after the switch failed with "Variant unavailable for <model>: medium". The variant now carries over only when the new model offers it; otherwise it is cleared and the cleared thinking option is reported to the agent. Closes #5578