diff --git a/client/src/components/ToolsTab.tsx b/client/src/components/ToolsTab.tsx index 6b64c014e..a3a7ff26c 100644 --- a/client/src/components/ToolsTab.tsx +++ b/client/src/components/ToolsTab.tsx @@ -87,11 +87,20 @@ const ToolsTab = ({ className="max-w-full h-auto" /> )} - {item.type === "resource" && ( -
- {JSON.stringify(item.resource, null, 2)}
-
- )}
+ {item.type === "resource" &&
+ (item.resource?.mimeType?.startsWith("audio/") ? (
+
+ ) : (
+
+ {JSON.stringify(item.resource, null, 2)}
+
+ ))}
))}
>