Documentation
¶
Overview ¶
Demonstrates opencode-specific model variant handling: OpencodeVariant, Session.CurrentVariant, and Client.UnstableSetModel. opencode exposes reasoning-effort variants (e.g. "high", "max") under a base model id via _meta.opencode.variant. These are not part of stable ACP — they live under Session.Meta() and the typed CurrentVariant accessor.
go run ./examples/model_variant
Click to show internal directories.
Click to hide internal directories.