chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-14 04:07:30 +00:00
parent 981e00971a
commit bfd707abc9
+1 -3
View File
@@ -407,9 +407,7 @@ export const layer: Layer.Layer<
) )
const normalized = yield* Effect.forEach(toolAttachments, (attachment) => const normalized = yield* Effect.forEach(toolAttachments, (attachment) =>
attachment.mime.startsWith("image/") attachment.mime.startsWith("image/")
? image ? image.normalize(attachment).pipe(
.normalize(attachment)
.pipe(
Effect.catchIf( Effect.catchIf(
(error) => error instanceof Image.ResizerUnavailableError, (error) => error instanceof Image.ResizerUnavailableError,
() => Effect.succeed(attachment), () => Effect.succeed(attachment),