diff --git a/src/ts/process/index.ts b/src/ts/process/index.ts index e77fe4dd..8d8be93d 100644 --- a/src/ts/process/index.ts +++ b/src/ts/process/index.ts @@ -17,7 +17,6 @@ import { groupOrder } from "./group"; import { runTrigger } from "./triggers"; import { HypaProcesser } from "./memory/hypamemory"; import { additionalInformations } from "./embedding/addinfo"; -import { cipherChat, decipherChat } from "./cipherChat"; import { getInlayImage, supportsInlayImage } from "./files/image"; import { getGenerationModelString } from "./models/modelString"; import { connectionOpen, peerRevertChat, peerSafeCheck, peerSync } from "../sync/multiuser"; @@ -1049,10 +1048,6 @@ export async function sendChat(chatProcessIndex = -1,arg:{ return v }) - if(db.cipherChat){ - formated = cipherChat(formated) - } - if(currentChar.depth_prompt && currentChar.depth_prompt.prompt && currentChar.depth_prompt.prompt.length > 0){ //depth_prompt @@ -1167,9 +1162,6 @@ export async function sendChat(chatProcessIndex = -1,arg:{ if(!result){ result = '' } - if(db.cipherChat){ - result = decipherChat(result) - } if(db.removeIncompleteResponse){ result = trimUntilPunctuation(result) } @@ -1220,9 +1212,6 @@ export async function sendChat(chatProcessIndex = -1,arg:{ for(let i=0;i