fix: wire previous session entry and stabilize jpeg test

This commit is contained in:
Peter Steinberger
2026-01-17 01:55:35 +00:00
parent 20897e943f
commit 767f55b127
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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(),
},
{