mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:10:51 +00:00
fix(plugins): use correct ImageContent.mimeType property in attachment mapping
This commit is contained in:
committed by
sallyom
parent
66b85fe649
commit
92673ca51d
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user