[GH-ISSUE #90] Opencode 1.1.30 fails to start with bundled template #35

Closed
opened 2026-02-27 10:21:52 +03:00 by kerem · 2 comments
Owner

Originally created by @postpersonality on GitHub (Jan 21, 2026).
Original GitHub issue: https://github.com/mikeyobrien/ralph-orchestrator/issues/90

It seems that default model for the opencode run command is qwen/qwq32 (may be it just me or some wierd plugin)

The config worked for me

cli:
  backend:  "custom"
  command: "opencode" 
  args:  
    - "run"
    - "-m"
    - "google/antigravity-gemini-3-flash"
  prompt_mode:  "arg"
  prompt_flag: null
Originally created by @postpersonality on GitHub (Jan 21, 2026). Original GitHub issue: https://github.com/mikeyobrien/ralph-orchestrator/issues/90 It seems that default model for the `opencode run` command is `qwen/qwq32` (may be it just me or some wierd plugin) The config worked for me ``` cli: backend: "custom" command: "opencode" args: - "run" - "-m" - "google/antigravity-gemini-3-flash" prompt_mode: "arg" prompt_flag: null ```
kerem closed this issue 2026-02-27 10:21:52 +03:00
Author
Owner

@mikeyobrien commented on GitHub (Jan 22, 2026):

This issue has been resolved. The minimal/opencode.yml preset has been updated for opencode 1.1.30+ compatibility:

Changes:

  • Uses custom backend with explicit -m model flag (required for 1.1.30+)
  • Default model set to anthropic/claude-sonnet-4-20250514
  • Added documentation noting the opencode version requirement
  • Instructions to run opencode models for available model options

Preset configuration:

cli:
  backend: "custom"
  command: "opencode"
  args:
    - "run"
    - "-m"
    - "anthropic/claude-sonnet-4-20250514"  # Change to preferred model
  prompt_mode: "arg"

Thanks @postpersonality for the detailed report and workaround!

<!-- gh-comment-id:3784309305 --> @mikeyobrien commented on GitHub (Jan 22, 2026): This issue has been resolved. The `minimal/opencode.yml` preset has been updated for opencode 1.1.30+ compatibility: **Changes:** - Uses `custom` backend with explicit `-m` model flag (required for 1.1.30+) - Default model set to `anthropic/claude-sonnet-4-20250514` - Added documentation noting the opencode version requirement - Instructions to run `opencode models` for available model options **Preset configuration:** ```yaml cli: backend: "custom" command: "opencode" args: - "run" - "-m" - "anthropic/claude-sonnet-4-20250514" # Change to preferred model prompt_mode: "arg" ``` Thanks @postpersonality for the detailed report and workaround!
Author
Owner

@postpersonality commented on GitHub (Jan 22, 2026):

I have tested the change
opencode 1.1.30
ralph 2.2.0
but it produces the same code as before

ralph init --preset feature --backend opencode --force

cli:
  backend: "opencode"
<!-- gh-comment-id:3786097497 --> @postpersonality commented on GitHub (Jan 22, 2026): I have tested the change opencode 1.1.30 ralph 2.2.0 but it produces the same code as before `ralph init --preset feature --backend opencode --force` ``` cli: backend: "opencode" ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ralph-orchestrator#35
No description provided.