[Bug] Context Loss: Agent Unable to Maintain Conversation State
Resolved 💬 3 comments Opened Aug 25, 2025 by karoliang Closed Jan 7, 2026
Bug Description
out of context all the time can't do anything anymore
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 1.0.90
- Feedback ID: 6dcfc8e2-dcbe-49d6-bde6-66326d6e2fd9
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 209980 tokens > 200000 maximum\"},\"request_id\":\"req_011CSU3TYcbe3smQ8xX3JUBv\"}\n at b4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:926:2412)\n at HP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:2101)\n at HP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:5314)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async qZ1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27491)\n at async qZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:16486)\n at async qBB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27321)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22275\n at async XD0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:3656)\n at async Ee (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22245)","timestamp":"2025-08-25T07:35:45.448Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 210546 tokens > 200000 maximum\"},\"request_id\":\"req_011CSU42WEeNd4xwcSXe7iQR\"}\n at b4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:926:2412)\n at HP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:2101)\n at HP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:5314)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async qZ1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27491)\n at async qZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:16486)\n at async qBB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27321)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22275\n at async XD0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:3656)\n at async Ee (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22245)","timestamp":"2025-08-25T07:43:12.359Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗