opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Improperly formed request

Open icysaintdx opened this issue 10 months ago • 4 comments

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

Image

Operating System

windows11

Terminal

No response

icysaintdx avatar Jan 11 '26 16:01 icysaintdx

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.

github-actions[bot] avatar Jan 11 '26 16:01 github-actions[bot]

@icysaintdx you aren't using any plugins? I think this is due to your plugin...

rekram1-node avatar Jan 11 '26 19:01 rekram1-node

@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": {

icysaintdx avatar Jan 12 '26 06:01 icysaintdx

I have this problem too.Always happened after opencode did the compaction

DevSissi avatar Jan 13 '26 13:01 DevSissi