[Bug] Compaction fails with "Conversation too long" error

Resolved 💬 3 comments Opened Oct 24, 2025 by fwends Closed Oct 28, 2025

Bug Description

So I can't compact it manually, but when it gets to 0 it will compact itself. This is obviously a bug.

<img width="517" height="221" alt="Image" src="https://github.com/user-attachments/assets/56598c14-cb17-41fe-9cc7-f20ea2cfec7e" />

/compact

⎿ Error: Error during compaction: Error: Conversation too long.
Press esc twice to go up a few messages and try again.

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.0.26
  • Feedback ID: 3d7484b7-d743-42fc-b392-7fad6bd90a24

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at Hz (/$bunfs/root/claude:1100:3203)\n    at map (native:1:11)\n    at y7 (/$bunfs/root/claude:1100:2920)\n    at r31 (/$bunfs/root/claude:1723:6331)\n    at yD (/$bunfs/root/claude:79:19415)\n    at vi (/$bunfs/root/claude:81:42816)\n    at NG (/$bunfs/root/claude:81:38357)\n    at kg (/$bunfs/root/claude:81:38285)\n    at mD (/$bunfs/root/claude:81:38139)\n    at mw (/$bunfs/root/claude:81:35218)","timestamp":"2025-10-24T10:45:33.311Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at Hz (/$bunfs/root/claude:1100:3203)\n    at map (native:1:11)\n    at y7 (/$bunfs/root/claude:1100:2920)\n    at r31 (/$bunfs/root/claude:1723:6331)\n    at yD (/$bunfs/root/claude:79:19415)\n    at vi (/$bunfs/root/claude:81:42816)\n    at NG (/$bunfs/root/claude:81:38357)\n    at kg (/$bunfs/root/claude:81:38285)\n    at mD (/$bunfs/root/claude:81:38139)\n    at mw (/$bunfs/root/claude:81:35218)","timestamp":"2025-10-24T10:49:11.246Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at Hz (/$bunfs/root/claude:1100:3203)\n    at map (native:1:11)\n    at y7 (/$bunfs/root/claude:1100:2920)\n    at r31 (/$bunfs/root/claude:1723:6331)\n    at yD (/$bunfs/root/claude:79:19415)\n    at vi (/$bunfs/root/claude:81:42816)\n    at NG (/$bunfs/root/claude:81:38357)\n    at kg (/$bunfs/root/claude:81:38285)\n    at mD (/$bunfs/root/claude:81:38139)\n    at mw (/$bunfs/root/claude:81:35218)","timestamp":"2025-10-24T10:49:11.246Z"},{"error":"TypeError: A boolean was expected\n    at unknown\n    at <anonymous> (/$bunfs/root/claude:205:36835)\n    at new Promise (native:1:11)\n    at QHG (/$bunfs/root/claude:205:36815)\n    at ca (/$bunfs/root/claude:205:79961)\n    at async V$A (/$bunfs/root/claude:205:82842)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-24T10:58:26.261Z"},{"error":"TypeError: A boolean was expected\n    at unknown\n    at <anonymous> (/$bunfs/root/claude:205:36835)\n    at new Promise (native:1:11)\n    at QHG (/$bunfs/root/claude:205:36815)\n    at ca (/$bunfs/root/claude:205:79961)\n    at async V$A (/$bunfs/root/claude:205:82842)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-24T11:01:00.847Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Overloaded\"},\"request_id\":null}\n    at generate (/$bunfs/root/claude:360:26009)\n    at makeRequest (/$bunfs/root/claude:506:5345)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-24T11:02:32.191Z"},{"error":"TypeError: A boolean was expected\n    at unknown\n    at <anonymous> (/$bunfs/root/claude:205:36835)\n    at new Promise (native:1:11)\n    at QHG (/$bunfs/root/claude:205:36815)\n    at ca (/$bunfs/root/claude:205:79961)\n    at async V$A (/$bunfs/root/claude:205:82842)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-24T11:05:43.297Z"},{"error":"TypeError: A boolean was expected\n    at unknown\n    at <anonymous> (/$bunfs/root/claude:205:36835)\n    at new Promise (native:1:11)\n    at QHG (/$bunfs/root/claude:205:36815)\n    at ca (/$bunfs/root/claude:205:79961)\n    at async V$A (/$bunfs/root/claude:205:82842)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-24T11:06:23.611Z"},{"error":"TypeError: A boolean was expected\n    at unknown\n    at <anonymous> (/$bunfs/root/claude:205:36835)\n    at new Promise (native:1:11)\n    at QHG (/$bunfs/root/claude:205:36815)\n    at ca (/$bunfs/root/claude:205:79961)\n    at async V$A (/$bunfs/root/claude:205:82842)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-24T11:08:46.983Z"},{"error":"TypeError: A boolean was expected\n    at unknown\n    at <anonymous> (/$bunfs/root/claude:205:36835)\n    at new Promise (native:1:11)\n    at QHG (/$bunfs/root/claude:205:36815)\n    at ca (/$bunfs/root/claude:205:79961)\n    at async V$A (/$bunfs/root/claude:205:82842)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-24T11:12:26.378Z"},{"error":"TypeError: A boolean wa

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗