Skip to content

[Auto] session_failure: The request was malformed and could not be processed. An assistant message with  #493

Description

@igorcosta

Auto-Reported Error

Field Value
Error Type session_failure
CLI Version 0.9.6
Model deepseek-v4-flash
Provider deepseek
Platform win32 10.0.20348
Session ID 72635162-3f4a-46ab-8e99-7a573354b787-1786534752676
Report ID 4ANwkWbPxXWh3AxYTTM77

Error Message

The request was malformed and could not be processed.
An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. (insufficient tool messages following tool_calls message)

Stack Trace

ApiError: The request was malformed and could not be processed.
An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. (insufficient tool messages following tool_calls message)
    at buildFriendlyError (B:/~BUN/root/autohand-windows-x64.exe:72559:26)
    at async makeRequest (B:/~BUN/root/autohand-windows-x64.exe:72442:42)
    at async complete (B:/~BUN/root/autohand-windows-x64.exe:72375:48)
    at processTicksAndRejections (native:7:39)

Session Context

  • Conversation length: 15 messages
  • Context usage: 2%
  • Last tools used: plan, exit_plan_mode, exit_plan_mode
  • Retry attempt: 0 / 3

Additional Context

{
  "retryAttempt": 0,
  "maxRetries": 3
}

Auto-reported by Autohand CLI v0.9.6 | Report ID: 4ANwkWbPxXWh3AxYTTM77

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