Skip to content

v2: Default model is not set when using omo slim #532

Closed

Description

@stonemaster

Description

I am using opencode v2 using oh-my-opencode-slim and configured it to use glm 5.3 flash as default orchestrator with my OpenCode GO subscription. Also my default mode is "ORCHESTRATOR". While running opencode's TUI sets all these defaults fine, using opencode.nvim ignores the model default. The orchestrator model is set to "random" one. I think it is not entirely random right now it is gemini 4 argon so it probably falls back to the last/most recent one?!

Note: this is used to work using opencode v1 and the plugin. Seems like something changed in v2 API.

Steps to reproduce

  1. opencode v2
  2. OpenCode Go
  3. OMO Slim

Environment

  • Neovim version: 0.12.6
  • OpenCode version: v2.0.29
  • opencode.nvim version or commit: 30d60dd
  • OS: Linux, Ubuntu 26.04.1

Configuration

OpenCode configuration

.opencode/config.json:

 {
    "$schema": "https://opencode.ai/config.json",
    "model": "opencode-go/glm-5.3-flash",
}

opencode.nvim configuration

{
    "sudo-tee/opencode.nvim",
    config = function()
      require("opencode").setup({
        default_mode = "orchestrator",
      })
    end,
}

Logs and screenshots

Checklist

  • I have searched existing issues.
  • I have included all relevant details.
  • I have removed sensitive information from configs and logs.

Activity

  1. sudo-tee commented on Oct 15, 2026

    @sudo-tee
    Owner

    Thanks for the report.

    I will ahve a look

  2. added a commit that references this issue on Oct 15, 2026
    ddb7139
  3. sudo-tee commented on Oct 15, 2026

    @sudo-tee
    Owner

    I created a PR

    #535

    if you want to try it and see if it resolves your issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions