Skip to content

Troubleshooting

  1. Confirm that opencode.json and tui.json both contain the package.
  2. Confirm that both entries use the same exact version.
  3. Close every OpenCode process and start it again.
  4. Inspect ~/.local/share/opencode/log/opencode.log for plugin loading errors.

OpenCode loaded a release older than 0.2.0. Pin 0.2.3 in both files and restart all OpenCode processes. The exact version creates a separate npm cache entry.

Check these conditions:

  • The message belongs to a delegated session, not a primary session.
  • The selected model still exists in the active provider catalog.
  • A nearer session Default marker is not stopping ancestor inheritance.
  • The saved state file is valid JSON.

The plugin preserves the model already chosen by OpenCode when saved state or session ancestry cannot be resolved safely. It emits a sanitized warning rather than routing the message through another override.

Use the TUI selectors whenever possible. If you inspect files directly, see Stored state first and keep a backup outside the OpenCode configuration directory.