Skip to content

[Auto] session_failure: The request was malformed and could not be processed. Unsupported parameter: 'ma #717

Open

Description

@igorcosta

Auto-Reported Autohand CLI Error

Field Value
Error Type session_failure
CLI Version 0.9.7
Model gpt-6.1-sol
Provider openai
Platform win32 10.0.26300
Session ID 3609d114-63d9-4ce5-81f6-6059976c29af-1793302065056
Report ID OQOFpOOqum69DaOL8bCeb

Error Message

The request was malformed and could not be processed.
Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.

Stack Trace

ApiError: The request was malformed and could not be processed.
Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.
    at makeError (B:/~BUN/root/autohand-windows-x64.exe:84286:22)
    at buildApiError (B:/~BUN/root/autohand-windows-x64.exe:120265:51)
    at async complete (B:/~BUN/root/autohand-windows-x64.exe:120138:37)
    at async runAgentReactLoop (B:/~BUN/root/autohand-windows-x64.exe:253784:47)
    at processTicksAndRejections (native:7:39)

Session Context

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

Additional Context

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

Auto-reported by Autohand CLI v0.9.7 | Report ID: OQOFpOOqum69DaOL8bCeb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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