Compation error #8519

Open
opened 2026-02-16 18:10:10 -05:00 by yindo · 3 comments
Owner

Originally created by @wlff123 on GitHub (Feb 4, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Image After having the conversation for a while, we saw that the compact method was failing and kept giving errors.

Plugins

OMO

OpenCode version

1.1.51

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

linux
No response

Terminal

No response

Originally created by @wlff123 on GitHub (Feb 4, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description <img width="1238" height="229" alt="Image" src="https://github.com/user-attachments/assets/0173c440-8d21-4d0b-a6ed-39ab76f1220a" /> After having the conversation for a while, we saw that the compact method was failing and kept giving errors. ### Plugins OMO ### OpenCode version 1.1.51 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System linux _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:10:10 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 4, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #10385: Compaction bug - prompt token limit
  • #11450: ContextWindowExceededError during compaction (litellm & claude-opus-4.5)
  • #9349: config not work(feature compact)
  • #11301: processing stops after compaction EVERY time
  • #10496: The /compact command does not work
  • #8394: [BUG] Compactation Fails Agent forgets everything

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 4, 2026): This issue might be a duplicate of existing issues. Please check: - #10385: Compaction bug - prompt token limit - #11450: ContextWindowExceededError during compaction (litellm & claude-opus-4.5) - #9349: config not work(feature compact) - #11301: processing stops after compaction EVERY time - #10496: The /compact command does not work - #8394: [BUG] Compactation Fails Agent forgets everything Feel free to ignore if none of these address your specific case.
Author
Owner

@R44VC0RP commented on GitHub (Feb 4, 2026):

What model were you using and can you provide a session export?

opencode export > export.json and paste here so we can look into it?

@R44VC0RP commented on GitHub (Feb 4, 2026): What model were you using and can you provide a session export? `opencode export > export.json` and paste here so we can look into it?
Author
Owner

@wlff123 commented on GitHub (Feb 4, 2026):

What model were you using and can you provide a session export?
claude-sonnet 4.5
opencode export > export.json and paste here so we can look into it?

@wlff123 commented on GitHub (Feb 4, 2026): > What model were you using and can you provide a session export? > claude-sonnet 4.5 > `opencode export > export.json` and paste here so we can look into it?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8519