diff --git a/src/auto-reply/reply/get-reply.ts b/src/auto-reply/reply/get-reply.ts index a5201a74b..11b0c7e5b 100644 --- a/src/auto-reply/reply/get-reply.ts +++ b/src/auto-reply/reply/get-reply.ts @@ -123,7 +123,6 @@ export async function getReplyFromConfig( agentCfg, sessionCtx, sessionEntry, - previousSessionEntry, sessionStore, sessionKey, storePath, @@ -181,6 +180,7 @@ export async function getReplyFromConfig( cfg, agentId, sessionEntry, + previousSessionEntry, sessionStore, sessionKey, storePath, diff --git a/src/web/auto-reply.web-auto-reply.compresses-common-formats-jpeg-cap.test.ts b/src/web/auto-reply.web-auto-reply.compresses-common-formats-jpeg-cap.test.ts index cc1a6e41e..da6c810e7 100644 --- a/src/web/auto-reply.web-auto-reply.compresses-common-formats-jpeg-cap.test.ts +++ b/src/web/auto-reply.web-auto-reply.compresses-common-formats-jpeg-cap.test.ts @@ -126,7 +126,7 @@ describe("web auto-reply", () => { sharp(buf, { raw: { width: opts.width, height: opts.height, channels: 3 }, }) - .jpeg({ quality: 100, chromaSubsampling: "4:4:4" }) + .jpeg({ quality: 90 }) .toBuffer(), }, {