🔻 inboundMessages.ts
This commit is contained in:
@@ -78,3 +78,4 @@ function isMalformedBase64Image(
|
|||||||
if (block.type !== 'image' || block.source?.type !== 'base64') return false
|
if (block.type !== 'image' || block.source?.type !== 'base64') return false
|
||||||
return !(block.source as unknown as Record<string, unknown>).media_type
|
return !(block.source as unknown as Record<string, unknown>).media_type
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user