Skip to content

[Auto] session_failure: The request was malformed and could not be processed. AiError: Bad input: Error: #534

Description

@igorcosta

Auto-Reported Error

Field Value
Error Type session_failure
CLI Version 0.8.2
Model moa
Provider autohandai
Platform darwin 24.5.0
Session ID ee2526a5-3fe7-4ee9-8878-0133cac41834-1787661959562
Report ID eMXGyrr89cChgxTF5D4MU

Error Message

The request was malformed and could not be processed.
AiError: Bad input: Error: oneOf at '/' not met, 0 matches: required properties at '/' are 'prompt', required properties at '/' are 'messages', required properties at '/' are 'requests' (00925526-92bd-4c69-9c49-41598c2406f9)

Stack Trace

ApiError: The request was malformed and could not be processed.
AiError: Bad input: Error: oneOf at '/' not met, 0 matches: required properties at '/' are 'prompt', required properties at '/' are 'messages', required properties at '/' are 'requests' (00925526-92bd-4c69-9c49-41598c2406f9)
    at buildFriendlyError (~/Documents/autohand/cli-3/src/providers/LLMGatewayClient.ts:646:18)
    at async makeRequest (~/Documents/autohand/cli-3/src/providers/LLMGatewayClient.ts:448:24)
    at async complete (~/Documents/autohand/cli-3/src/providers/LLMGatewayClient.ts:330:37)
    at processTicksAndRejections (native:7:39)

Session Context

  • Conversation length: 222 messages
  • Context usage: 18%
  • Last tools used: apply_patch, run_command, run_command
  • Retry attempt: 0 / 5

Additional Context

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

Auto-reported by Autohand CLI v0.8.2 | Report ID: eMXGyrr89cChgxTF5D4MU

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