fix(mcp): mcp result preview is missing parameters (#6165)

This commit is contained in:
karl 2025-05-20 14:46:21 +08:00 committed by GitHub
parent df5f795671
commit 5cf611f1ac

View File

@ -200,11 +200,7 @@ const MessageTools: FC<Props> = ({ blocks }) => {
children: (
<CollapsedContent
isExpanded={true}
resultString={
typeof expandedResponse.content === 'string'
? expandedResponse.content
: JSON.stringify(expandedResponse.content, null, 2)
}
resultString={resultString}
/>
)
}