[fix] max response error
This commit is contained in:
@@ -199,7 +199,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n
|
|||||||
})
|
})
|
||||||
|
|
||||||
//await tokenize currernt
|
//await tokenize currernt
|
||||||
let currentTokens = 0
|
let currentTokens = db.maxResponse
|
||||||
|
|
||||||
for(const key in unformated){
|
for(const key in unformated){
|
||||||
const chats = unformated[key] as OpenAIChat[]
|
const chats = unformated[key] as OpenAIChat[]
|
||||||
|
|||||||
Reference in New Issue
Block a user