We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5818535 commit 7e491daCopy full SHA for 7e491da
src/core/tools/accessMcpResourceTool.ts
@@ -73,7 +73,7 @@ export async function accessMcpResourceTool(
73
74
resourceResult?.contents.forEach((item) => {
75
if (item.mimeType?.startsWith("image") && item.blob) {
76
- if (item.mimeType.startsWith("data:")) {
+ if (item.blob.startsWith("data:")) {
77
images.push(item.blob)
78
} else {
79
images.push(`data:${item.mimeType};base64,` + item.blob)
0 commit comments