fix: wire previous session entry and stabilize jpeg test
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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(),
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user