diff --git a/src/openAI.js b/src/openAI.js index 27c31a6..313e1df 100644 --- a/src/openAI.js +++ b/src/openAI.js @@ -10,7 +10,7 @@ const chat = new ChatOpenAI({ temperature: 0.9, frequencyPenalty: 1.5, presencePenalty: 1.5, - maxTokens: 700, + max_completion_tokens: 700, user: "discord", modelName: "o1-mini", });