Skip to content

[BUG] Parsing Issue on GLM-4.7 #10731

@LorenzoNava99

Description

@LorenzoNava99

Description

I don't really understand if this is an issue with the model itself or an issue with the opencode parsing with GLM-4.7, but anyways it could be more robust to also accomodate these edge cases.

Sometimes it simply gaves up after some tool tags:

Image

Then the problem keeps going for every new prompt until I rollback a message by clicking it, also I can't understand why it doesn't do so with /timeline, the fix only works with the mouse click and it doesn't need to be a message previous to the problem, you just need to rollback with mouse click on a previous conversation and it gets back in business. That's also why I think it is an opencode issue and not GLM-4.7.

All testing were conducted on GLM-4.7 through the API on a GLM Code Plan.

Plugins

None

OpenCode version

v1.1.36

Steps to reproduce

  1. Wait for it to happen
  2. Try sending more messages
  3. More parsing errors
  4. Click on previous chat (no /timeline) and rollback
  5. It gets back in business

Screenshot and/or share link

No response

Operating System

macOS Tahoe 26.0.1 (25A362)

Terminal

Apple's Terminal

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions