API: Replace max_tokens with max_completion_tokens

This commit is contained in:
Mumulhl
2025-08-09 11:35:26 +08:00
parent cae391f62b
commit 03177a09b3

View File

@@ -267,7 +267,7 @@ const genOpenAI = ({
},
],
temperature,
max_tokens: maxTokens,
max_completion_tokens: maxTokens,
};
const init = {