fix: resolve ci failures

This commit is contained in:
Peter Steinberger
2026-01-18 08:44:43 +00:00
parent d776cfb4e1
commit 65bed815a8
24 changed files with 82 additions and 123 deletions

View File

@@ -565,8 +565,12 @@ export async function runEmbeddedAttempt(
// Check for existing image content to avoid duplicates across turns
const existingImageData = new Set(
msg.content
.filter((c): c is ImageContent =>
c != null && typeof c === "object" && c.type === "image" && typeof c.data === "string",
.filter(
(c): c is ImageContent =>
c != null &&
typeof c === "object" &&
c.type === "image" &&
typeof c.data === "string",
)
.map((c) => c.data),
);