[fix] ll promblem
This commit is contained in:
@@ -264,6 +264,9 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n
|
|||||||
//await tokenize currernt
|
//await tokenize currernt
|
||||||
let currentTokens = db.maxResponse
|
let currentTokens = db.maxResponse
|
||||||
|
|
||||||
|
//for unexpected error
|
||||||
|
currentTokens += 50
|
||||||
|
|
||||||
|
|
||||||
if(promptTemplate){
|
if(promptTemplate){
|
||||||
const template = promptTemplate
|
const template = promptTemplate
|
||||||
|
|||||||
Reference in New Issue
Block a user