Skip to content

API error due to range of max_token for Qwen3 Max Thinking #5871

@basetutu

Description

@basetutu

Plugin Type

VSCode Extension

App Version

Version: 5.7.0 (0e72301)

Description

Date/time: 2026-02-13T22:29:33.798Z
Extension version: 5.7.0
Provider: kilocode
Model: qwen/qwen3-max-thinking

Alibaba error: Upstream error from Alibaba: <400> InternalError.Algo.InvalidParameter: Range of max_tokens should be [1, 32768]

Reproduction steps

  1. Create a new chat.
  2. Switch to Qwen3 Max Thinking.
  3. Type a prompt
  4. API error

Provider

No response

Model

No response

System Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Intake

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions