API: Replace max_tokens with max_completion_tokens
This commit is contained in:
@@ -267,7 +267,7 @@ const genOpenAI = ({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
temperature,
|
temperature,
|
||||||
max_tokens: maxTokens,
|
max_completion_tokens: maxTokens,
|
||||||
};
|
};
|
||||||
|
|
||||||
const init = {
|
const init = {
|
||||||
|
|||||||
Reference in New Issue
Block a user