[Bug] Auto-Compact triggers before context is full without user confirmation
Resolved 💬 2 comments Opened Jun 30, 2026 by markgergis Closed Jul 4, 2026
Bug Description
The chat compacted automatically without either asking or the context reaching full! Check the attached screenshot
<img width="1659" height="240" alt="Image" src="https://github.com/user-attachments/assets/f7e748c3-6a8a-4ad1-b7aa-cbb0256fe2c9" />
Environment Info
- Platform: darwin
- Terminal: WarpTerminal
- Version: 2.1.160
- Feedback ID: 206cd0b8-560d-4a58-a2cc-020af93ecde2
Errors
[{"error":"The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()","timestamp":"2026-06-17T16:12:31.450Z"},{"error":"Error: 500 {\"type\":\"error\",\"error\":{\"type\":\"api_error\",\"message\":\"Internal server error\"},\"request_id\":\"req_011CcLMbPtDp3MGMAXgxZrjj\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:64672)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-06-23T14:33:23.577Z"},{"error":"The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()","timestamp":"2026-06-24T00:30:54.541Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.65.content.24.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels\"},\"request_id\":\"req_011CcZVQwZPoQGnAvgeYUHpZ\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:64414)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-06-30T13:03:40.099Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.65.content.24.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels\"},\"request_id\":\"req_011CcZVRM138BEyZzhbn56tW\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:64414)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-06-30T13:03:45.547Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗