Clawith icon indicating copy to clipboard operation
Clawith copied to clipboard

[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"}}

Open Tyyabb opened this issue 6 months ago • 0 comments

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

Tyyabb avatar May 13 '26 06:05 Tyyabb