[fix] token fix (#136)

This commit is contained in:
kwaroran
2023-05-31 05:51:10 +09:00
committed by GitHub

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)