[Bug] Auto-Compact not triggering despite low context with 24% usage
Resolved 💬 3 comments Opened Jan 7, 2026 by ygoron Closed Feb 21, 2026
Bug Description
stuck in the contex low repeteadly when runing this prompt. Also context shows only 24% used. Autocompact is set to true. Tried that promopt several times with the same error. Please help
Environment Info
- Platform: darwin
- Terminal: WarpTerminal
- Version: 2.0.76
- Feedback ID: 72bf5001-dde6-4b86-92cd-44bbf72a8a5a
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 215692 tokens > 200000 maximum\"},\"request_id\":\"req_011CWtRASHACrfBbz9kkcWaS\"}\n at F9.generate (file:///Users/ygoron/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:510:11051)\n at OT.makeStatusError (file:///Users/ygoron/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:857:2195)\n at OT.makeRequest (file:///Users/ygoron/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:857:5420)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SW9.d71.model (file:///Users/ygoron/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4593:6345)\n at async d71 (file:///Users/ygoron/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1346:19540)\n at async SW9 (file:///Users/ygoron/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4593:6499)\n at async file:///Users/ygoron/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4591:3799\n at async d00 (file:///Users/ygoron/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1007:2037)\n at async zHA (file:///Users/ygoron/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:4591:3769)","timestamp":"2026-01-07T17:32:30.106Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗