Skip to content

Commit

Permalink
Mods
Browse files Browse the repository at this point in the history
  • Loading branch information
madprops committed Jan 14, 2025
1 parent e3edbf6 commit 07e2026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/models.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module.exports = (App) => {

let ans = await client.chat.completions.create({
model,
max_tokens: App.config.max_tokens,
max_completion_tokens: App.config.max_tokens,
messages,
})

Expand Down

0 comments on commit 07e2026

Please sign in to comment.