diff --git a/src/ts/process/index.ts b/src/ts/process/index.ts index f2447726..690825a8 100644 --- a/src/ts/process/index.ts +++ b/src/ts/process/index.ts @@ -199,7 +199,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n }) //await tokenize currernt - let currentTokens = 0 + let currentTokens = db.maxResponse for(const key in unformated){ const chats = unformated[key] as OpenAIChat[]