From 2bbb0ff9ca4231384d906e056aafa2fe9628c969 Mon Sep 17 00:00:00 2001 From: LL Date: Tue, 11 Jul 2023 00:52:28 +0900 Subject: [PATCH] [fix] apply plain fetch option when use Streaming --- src/ts/process/request.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/process/request.ts b/src/ts/process/request.ts index 0dc4da32..072c5035 100644 --- a/src/ts/process/request.ts +++ b/src/ts/process/request.ts @@ -193,7 +193,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model' } if(db.useStreaming && arg.useStreaming){ body.stream = true - const da = ((!isTauri) && (!isNodeServer)) + const da = ((!isTauri) && (!isNodeServer) && (!db.usePlainFetch)) ? await fetch(`/proxy2`, { body: JSON.stringify(body), headers: {