-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- I will write this issue in English (see our Language Policy)
- I have searched existing issues to avoid duplicates
- I am using the latest version of oh-my-opencode
- I have read the documentation or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer
Bug Description
Mostly this is cuased by a interleaved tool call. Related issue
Basically, Prometheus reads plan, consults Momus, and then modify plan will trigger "should read before write" error because there's a momus feedback message in between tool calls.
Although this is a opencode bug. I was wondering if omo can do something on your side?
Steps to Reproduce
- Ask Prometheus to continue planning a plan file that is interrupted somehow.
- Allows Promethus to consult Momus.
- After Momus feedback, Prometheus starts modify, opencode shows "should read before write error", then this bug occurs and session cannot continue. Undo doesn't help as long as it consults Momus.
Expected Behavior
"tool_use ids were found without tool_result blocks" error
Actual Behavior
tool_use ids were found without tool_result blocks immediately after error
Doctor Output
1. Loaded plugin is outdated
Loaded 3.8.1, latest 3.8.3.
Fix: Update: cd ~/.config/opencode && bun update oh-my-opencode
Affects: plugin features
2. Comment checker unavailable
Comment checker binary is not installed.
Fix: Install @code-yeongyu/comment-checker
Affects: comment-checker hookError Logs
Configuration
Additional Context
No response
Operating System
macOS
OpenCode Version
3.8.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working