feat(chatui.tsx): support guardrails on mcp tool calls on playground

This commit is contained in:
Krrish Dholakia 2026-02-06 14:48:28 -08:00 • committed by Shin
parent ae1fc80445
commit 572239452c

View file

@ -1129,6 +1129,7 @@ const ChatUI: React.FC<ChatUIProps> = ({
mcpServerId,
selectedMCPDirectTool,
mcpToolArguments,
selectedGuardrails.length > 0 ? { guardrails: selectedGuardrails } : undefined,
);
const resultText =
result?.content?.length > 0