[fix] token fix

This commit is contained in:
kwaroran
2023-05-31 05:50:08 +09:00
parent 9ec3b5cd14
commit e4d956d0d6

View File

@@ -207,7 +207,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n
return (unformated[key] as OpenAIChat[]).map((d) => {
return d.content
}).join('\n\n')
}).join('\n\n')) + db.maxResponse) + 100
}).join('\n\n')) + db.maxResponse) + 130
const examples = exampleMessage(currentChar)