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 2d7caf9fc5
commit 49d4ae6e9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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}
/>
)
}