mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 21:40:42 +00:00
chore: refresh talk generated metadata
This commit is contained in:
@@ -981,7 +981,7 @@ describe("sanitizeSessionHistory", () => {
|
||||
|
||||
expect(result).toEqual([
|
||||
{
|
||||
...(messages[0] as Record<string, unknown>),
|
||||
...(messages[0] as unknown as Record<string, unknown>),
|
||||
usage: makeZeroUsageSnapshot(),
|
||||
},
|
||||
]);
|
||||
|
||||
@@ -97,7 +97,7 @@ describe("normalizeMessagesForLlmBoundary", () => {
|
||||
|
||||
const output = normalizeMessagesForLlmBoundary(
|
||||
input as Parameters<typeof normalizeMessagesForLlmBoundary>[0],
|
||||
) as Array<Record<string, unknown>>;
|
||||
) as unknown as Array<Record<string, unknown>>;
|
||||
|
||||
expect(output[0]).not.toHaveProperty("details");
|
||||
expect(output[0]?.content).toEqual([{ type: "text", text: "visible output" }]);
|
||||
@@ -136,7 +136,7 @@ describe("normalizeMessagesForLlmBoundary", () => {
|
||||
|
||||
const output = normalizeMessagesForLlmBoundary(
|
||||
input as Parameters<typeof normalizeMessagesForLlmBoundary>[0],
|
||||
) as Array<Record<string, unknown>>;
|
||||
) as unknown as Array<Record<string, unknown>>;
|
||||
|
||||
expect(output).toHaveLength(3);
|
||||
expect(output).not.toEqual(
|
||||
|
||||
Reference in New Issue
Block a user