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, agentCfg,
sessionCtx, sessionCtx,
sessionEntry, sessionEntry,
previousSessionEntry,
sessionStore, sessionStore,
sessionKey, sessionKey,
storePath, storePath,
@@ -181,6 +180,7 @@ export async function getReplyFromConfig(
cfg, cfg,
agentId, agentId,
sessionEntry, sessionEntry,
previousSessionEntry,
sessionStore, sessionStore,
sessionKey, sessionKey,
storePath, storePath,

View File

@@ -126,7 +126,7 @@ describe("web auto-reply", () => {
sharp(buf, { sharp(buf, {
raw: { width: opts.width, height: opts.height, channels: 3 }, raw: { width: opts.width, height: opts.height, channels: 3 },
}) })
.jpeg({ quality: 100, chromaSubsampling: "4:4:4" }) .jpeg({ quality: 90 })
.toBuffer(), .toBuffer(),
}, },
{ {