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