Auto-Reported Error
| Field |
Value |
| Error Type |
context_overflow |
| CLI Version |
0.8.3 |
| Model |
z-ai/glm-5.1 |
| Provider |
openrouter |
| Platform |
darwin 25.5.0 |
| Session ID |
N/A |
| Report ID |
aSAT0sqDtB9T4ri0vHIUb |
Error Message
The conversation is too long for this model. Try /undo to remove recent turns or /new to start fresh.
This endpoint's maximum context length is 204800 tokens. However, you requested about 273731 tokens (253528 of text input, 4203 of tool input, 16000 in the output). Please reduce the length of either one, or use the context-compression plugin to compress your prompt automatically.
Stack Trace
ApiError: The conversation is too long for this model. Try /undo to remove recent turns or /new to start fresh.
This endpoint's maximum context length is 204800 tokens. However, you requested about 273731 tokens (253528 of text input, 4203 of tool input, 16000 in the output). Please reduce the length of either one, or use the context-compression plugin to compress your prompt automatically.
at makeError (file://~/.nvm/versions/node/v24.14.1/lib/node_modules/autohand-cli/dist/chunk-B53A2NM2.js:127:10)
at classifyApiError (file://~/.nvm/versions/node/v24.14.1/lib/node_modules/autohand-cli/dist/chunk-B53A2NM2.js:96:14)
at OpenRouterClient.buildApiError (file://~/.nvm/versions/node/v24.14.1/lib/node_modules/autohand-cli/dist/chunk-B53A2NM2.js:914:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async OpenRouterClient.makeRequest (file://~/.nvm/versions/node/v24.14.1/lib/node_modules/autohand-cli/dist/chunk-B53A2NM2.js:861:13)
at async OpenRouterClient.complete (file://~/.nvm/versions/node/v24.14.1/lib/node_modules/autohand-cli/dist/chunk-B53A2NM2.js:801:26)
at async AutohandAgent.runReactLoop (file://~/.nvm/versions/node/v24.14.1/lib/node_modules/autohand-cli/dist/index.js:15029:22)
at async AutohandAgent.runInstruction (file://~/.nvm/versions/node/v24.14.1/lib/node_modules/autohand-cli/dist/index.js:14737:7)
at async RPCAdapter.handlePrompt (file://~/.nvm/versions/node/v24.14.1/lib/node_modules/autohand-cli/dist/index.js:18517:23)
Session Context
- Conversation length: 32 messages
- Context usage: 306%
- Last tools used: N/A
- Retry attempt: N/A
Additional Context
Auto-reported by Autohand CLI v0.8.3 | Report ID: aSAT0sqDtB9T4ri0vHIUb
Auto-Reported Error
Error Message
Stack Trace
Session Context
Additional Context
{}Auto-reported by Autohand CLI v0.8.3 | Report ID: aSAT0sqDtB9T4ri0vHIUb