YPrompt icon indicating copy to clipboard operation
YPrompt copied to clipboard

Unsupported gpt-5.1

Open jin1232233 opened this issue 11 months ago • 1 comments

{ "error": { "message": "Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.", "type": "invalid_request_error", "param": "max_tokens", "code": "unsupported_parameter" } }

jin1232233 avatar Dec 22 '25 04:12 jin1232233

已修复,o1 / o3 / o4-mini 系列 ,GPT-5 / GPT-5.1 / GPT-5.1系列调整为max_completion_tokens,你测试一下

fish2018 avatar Dec 23 '25 05:12 fish2018