Improperly formed request
Description
After the opencode is interrupted, when I input "continue", this problem keeps occurring, then an error is reported. When I retry, the error appears again. It's an infinite loop.
Plugins
No response
OpenCode version
No response
Steps to reproduce
After the opencode is interrupted, when I input "continue", this problem keeps occurring, then an error is reported. When I retry, the error appears again. It's an infinite loop.
Screenshot and/or share link
Operating System
windows11
Terminal
No response
This issue might be a duplicate of existing issues. Please check:
- #7187: Agent stuck in infinite "SYSTEM REMINDER - TODO CONTINUATION" loop when finishing tasks
This issue appears related as both involve infinite loops triggered after interruption/errors. The #7187 issue describes getting stuck repeatedly trying to process tasks when they're nearly complete or when task registration fails, which could be connected to your "Improperly formed request" error that keeps occurring on retry.
Feel free to ignore if none of these address your specific case.
@icysaintdx you aren't using any plugins? I think this is due to your plugin...
@icysaintdx你没有使用任何插件吗?我觉得这可能是你的插件导致的……
"$schema": "https://opencode.ai/config.json",
"theme": "tokyonight",
"permission": {
"lsp": "allow",
"webfetch": "allow",
"skill": "allow",
"question": "allow",
"todoread": "allow",
"todowrite": "allow",
"edit": "allow",
"list": "allow",
"glob": "allow",
"grep": "allow",
"read": "allow",
"bash": "allow",
"mymcp_*": "ask"
},
"compaction": {
"auto": true,
"prune": false
},
"mcp": {
"context7": {
"type": "local",
"command": [
"pnpx",
"@upstash/context7-mcp"
],
"enabled": true
}
},
"plugin": [
"oh-my-opencode",
"[email protected]",
"[email protected]"
],
"provider": {
I have this problem too.Always happened after opencode did the compaction