[fix] ll promblem

This commit is contained in:
kwaroran
2023-09-09 07:15:28 +09:00
parent 9308e01c2f
commit 9b757301e4

View File

@@ -264,6 +264,9 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n
//await tokenize currernt
let currentTokens = db.maxResponse
//for unexpected error
currentTokens += 50
if(promptTemplate){
const template = promptTemplate