Skip to content

There is a very high probability of encountering indentation bugs when using the Edit tool in OpenCode. #10656

@Zwenrenmuyuan

Description

@Zwenrenmuyuan

Description

Image Image

When OpenCode attempts to invoke the Edit tool, certain models such as GLM4.7, MiniMax M2.1, and Big Pickle (provided by OpenCode Zen) experience this issue, while others like GitHub Copilot's Haiku D4.5 work normally.

Plugins

No response

OpenCode version

OpenCode 1.1.36

Steps to reproduce

When attempting to modify an existing method with the corresponding model, there is a high probability of encountering this issue.

Screenshot and/or share link

No response

Operating System

win11

Terminal

vscode powershell

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions