fix: claude max token

This commit is contained in:
ikechan8370 2025-02-26 22:20:53 +08:00
parent 7bf1c84989
commit 7fcf0c6b58
2 changed files with 3 additions and 2 deletions

View file

@ -259,7 +259,8 @@ class Core {
stream: false,
parentMessageId: conversation.parentMessageId,
conversationId: conversation.conversationId,
system: opt.system.claude
system: opt.system.claude,
max_tokens: Config.apiMaxToken
}
let img = await getImg(e)
if (img && img.length > 0) {