diff --git a/src/ts/process/request.ts b/src/ts/process/request.ts index 23ea5519..8fceb79e 100644 --- a/src/ts/process/request.ts +++ b/src/ts/process/request.ts @@ -188,6 +188,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model' formatedChat = formated } + let oobaSystemPrompts:string[] = [] for(let i=0;i 0){ + formatedChat.push({ + role: 'system', + content: oobaSystemPrompts.join('\n') + }) } @@ -223,6 +238,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model' + let oaiFunctions:OaiFunctions[] = [] @@ -305,7 +321,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model' body[key] = OobaBodyTemplate[key] } } - arg.useStreaming = false + } if(supportsInlayImage()){