fix(plugins): use correct ImageContent.mimeType property in attachment mapping

This commit is contained in:
竹田賢史@セントラルホールディングス
2026-04-16 02:31:51 +09:00
committed by sallyom
parent 66b85fe649
commit 92673ca51d

View File

@@ -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({