Infinite error message #3323

Open
opened 2026-02-16 17:39:39 -05:00 by yindo · 2 comments
Owner

Originally created by @Neil-urk12 on GitHub (Dec 4, 2025).

Description

Image

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

Originally created by @Neil-urk12 on GitHub (Dec 4, 2025). ### Description <img width="1049" height="578" alt="Image" src="https://github.com/user-attachments/assets/519f791a-cfbe-4644-89bd-136b7b3f2fc1" /> 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_
yindo added the model-problembug labels 2026-02-16 17:39:39 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 4, 2025):

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.

@github-actions[bot] commented on GitHub (Dec 4, 2025): 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.
Author
Owner

@rekram1-node commented on GitHub (Dec 5, 2025):

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

@rekram1-node commented on GitHub (Dec 5, 2025): 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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3323