Skip to content

[LLM call error] [LLM Error] HTTP 400: {"error":{"message":"Invalid maxtokens value, the valid range of maxtokens is [1, 393216]","type":"invalidrequesterror","param":null,"code":"invalidrequesterror"}} #571

@Tyyabb

Description

@Tyyabb

Pre-checks

Deployment Method

Source (setup.sh)

Steps to Reproduce

模型池最大输出token设置为512000时(deepseek),agent会话出现[LLM call error] [LLM Error] HTTP 400: {"error":{"message":"Invalid maxtokens value, the valid range of maxtokens is [1, 393216]","type":"invalidrequesterror","param":null,"code":"invalidrequesterror"}},最大输出token设置为390000时,正常。

Expected vs Actual Behavior

模型池最大输出token上限可设为1m

Logs / Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions