opencode
opencode copied to clipboard
Infinite error message
Description
Despite interrupting and retrying the task multiple times. It still ends up like this.
OpenCode version
v1.0.132 No response
Steps to reproduce
Z.AI GLM 4.6 API on Build Mode
Asked to update CODEBASE_SCAN_REPORT.md to remove the fixed issue. No response
Screenshot and/or share link
No response
Operating System
Fedora 42 with Niri No response
Terminal
Foot terminal with Zellij
No response
This issue might be a duplicate of existing issues. Please check:
- #3444: GLM-4.6 model gets stuck in infinite loop, repeating same actions
- #2944: Getting "AI_APICallError: Invalid API parameter, please check the documentation." in opencode with zAI glm 4.6
- #3088: Indefinitely retry to fetch
- #4319: Strangely enough, it always gets stuck or encounters an exception during task execution
- #4781: Once I get an error I can't move on
Feel free to ignore if none of these address your specific case.
This is a looping issue, but it is also place where edit tool could be improved
Some models loop more than others but our detection logic could be improved