Skip to content

[Bug]: Switching Sisyphus model before session starts does not take effect #1024

@812152511

Description

@812152511

Prerequisites

  • I have searched existing issues to avoid duplicates
  • I am using the latest version of oh-my-opencode
  • I have read the documentation

Bug Description

When starting opencode, before the conversation starts, the gork model is selected, but it does not take effect after executing the conversation. The default configuration is still used, and the conversation is interrupted. After selecting the grok model again, it can take effect

Steps to Reproduce

selected grok:
Image

Still using the default model configuration:
Image

Interrupt and reselect the model:
Image

effective:
Image

Expected Behavior

After starting the conversation, Sisyphus should directly use the Grok model

Actual Behavior

The default configuration model used by Sisyphus

Doctor Output

Installation
────────────────────────────────────────
  ✓ OpenCode Installation → 1.1.34
  ✓ Plugin Registration → Registered

Configuration
────────────────────────────────────────
  ✓ Configuration Validity → Valid JSON config

Authentication
────────────────────────────────────────
  ✓ Anthropic (Claude) Auth → Auth plugin available
  ✓ OpenAI (ChatGPT) Auth → Auth plugin available
  ✓ Google (Gemini) Auth → Auth plugin available

Dependencies
────────────────────────────────────────
  ⚠ AST-Grep CLI → Not installed (optional)
  ⚠ AST-Grep NAPI → Not installed (optional)
  ⚠ Comment Checker → Not installed (optional)

Tools & Servers
────────────────────────────────────────
  ⚠ GitHub CLI → Not installed (optional)
  ✓ LSP Servers → 3/4 servers available
  ✓ Built-in MCP Servers → 2 built-in servers enabled
  ○ User MCP Configuration → No user MCP configuration found

Updates
────────────────────────────────────────
  ✓ Version Status → Up to date (2.14.0)

Summary
────────────────────────────────────────

  9 passed, 0 failed, 4 warnings, 1 skipped
  Total: 14 checks in 1389ms

⚠ All systems operational with warnings.

Error Logs

Configuration

Additional Context

No response

Operating System

macOS

OpenCode Version

1.1.34

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