From 92673ca51dc8566bd3bc2be6ea54644a8bf6f32d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AB=B9=E7=94=B0=E8=B3=A2=E5=8F=B2=40=E3=82=BB=E3=83=B3?= =?UTF-8?q?=E3=83=88=E3=83=A9=E3=83=AB=E3=83=9B=E3=83=BC=E3=83=AB=E3=83=87?= =?UTF-8?q?=E3=82=A3=E3=83=B3=E3=82=B0=E3=82=B9?= Date: Thu, 16 Apr 2026 02:31:51 +0900 Subject: [PATCH] fix(plugins): use correct ImageContent.mimeType property in attachment mapping --- src/agents/pi-embedded-runner/run.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/pi-embedded-runner/run.ts b/src/agents/pi-embedded-runner/run.ts index d5f18acffcf..6cab79ea815 100644 --- a/src/agents/pi-embedded-runner/run.ts +++ b/src/agents/pi-embedded-runner/run.ts @@ -302,7 +302,7 @@ export async function runEmbeddedPiAgent( const attachments = (params.images ?? []).map((img) => ({ kind: "image" as const, - mimeType: img.media_type, + mimeType: img.mimeType, })); const hookSelection = await resolveHookModelSelection({