From 96d578f00997ddc43b9b1be27e191c2de7392698 Mon Sep 17 00:00:00 2001 From: teralomaniac Date: Tue, 22 Aug 2023 10:24:42 +0800 Subject: [PATCH] Update clewd.js --- clewd.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/clewd.js b/clewd.js index cb6d842..2bcfa8f 100644 --- a/clewd.js +++ b/clewd.js @@ -148,7 +148,7 @@ let uuidOrg, curPrompt = {}, prevPrompt = {}, prevMessages = [], prevImpersonate StripHuman: false, PassParams: false, ClearFlags: true, - PreserveChats: false, + PreserveChats: true, LogMessages: true, FullColon: true, padtxt: 13500, @@ -739,7 +739,15 @@ const updateParams = res => { } /***************************** */ })(); +/***************************** */ + if (!Config.rProxy) { + Config.rProxy = AI.end(); + } + else { + Config.Settings.Superfetch = false; + } currentIndex = Math.floor(Math.random() * Config.CookieArray.length); +/***************************** */ Proxy.listen(Config.Port, Config.Ip, onListen); Proxy.on('error', (err => { console.error('Proxy error\n%o', err);