Skip to content

[Auto] context_overflow: The request was malformed. This often happens when the context is too long. Try  #179

@igorcosta

Description

@igorcosta

Auto-Reported Error

Field Value
Error Type context_overflow
CLI Version 0.9.0
Model N/A
Provider llmgateway
Platform win32 10.0.19044
Session ID N/A
Report ID pjLTrdGivqm6WGInrdrmn

Error Message

The request was malformed. This often happens when the context is too long. Try /undo to remove recent turns or /new to start fresh.
true

Stack Trace

Error: The request was malformed. This often happens when the context is too long. Try /undo to remove recent turns or /new to start fresh.
true
    at LLMGatewayClient.makeRequest (file:///C:~/.../AppData/Roaming/npm/node_modules/autohand-cli/dist/chunk-QKP772OZ.js:2318:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async LLMGatewayClient.complete (file:///C:~/.../AppData/Roaming/npm/node_modules/autohand-cli/dist/chunk-QKP772OZ.js:2245:26)
    at async runAgentReactLoop (file:///C:~/.../AppData/Roaming/npm/node_modules/autohand-cli/dist/chunk-AUFNACED.js:1668:20)
    at async InstructionRunner.run (file:///C:~/.../AppData/Roaming/npm/node_modules/autohand-cli/dist/chunk-AUFNACED.js:11132:7)
    at async runAgentInteractiveLoop (file:///C:~/.../AppData/Roaming/npm/node_modules/autohand-cli/dist/chunk-AUFNACED.js:12090:7)
    at async runAgentInteractive (file:///C:~/.../AppData/Roaming/npm/node_modules/autohand-cli/dist/chunk-AUFNACED.js:11615:3)
    at async runCLI (file:///C:~/.../AppData/Roaming/npm/node_modules/autohand-cli/dist/index.js:1254:7)
    at async Command.<anonymous> (file:///C:~/.../AppData/Roaming/npm/node_modules/autohand-cli/dist/index.js:712:3)
    at async Command.parseAsync (~\AppData\Roaming\npm\node_modules\autohand-cli\node_modules\commander\lib\command.js:1122:5)

Session Context

  • Conversation length: 3 messages
  • Context usage: 58%
  • Last tools used: N/A
  • Retry attempt: N/A

Additional Context

{}

Auto-reported by Autohand CLI v0.9.0 | Report ID: pjLTrdGivqm6WGInrdrmn

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions