From 9e46d7354daf50a3715883141b12fe4d977cd441 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Wed, 4 Feb 2026 18:31:25 -0800 Subject: [PATCH] ui fix --- .../MCPSemanticFilterTestPanel.tsx | 91 +++++++++++-------- 1 file changed, 51 insertions(+), 40 deletions(-) diff --git a/ui/litellm-dashboard/src/components/Settings/AdminSettings/MCPSemanticFilterSettings/MCPSemanticFilterTestPanel.tsx b/ui/litellm-dashboard/src/components/Settings/AdminSettings/MCPSemanticFilterSettings/MCPSemanticFilterTestPanel.tsx index c2746aac511..c6d179b2171 100644 --- a/ui/litellm-dashboard/src/components/Settings/AdminSettings/MCPSemanticFilterSettings/MCPSemanticFilterTestPanel.tsx +++ b/ui/litellm-dashboard/src/components/Settings/AdminSettings/MCPSemanticFilterSettings/MCPSemanticFilterTestPanel.tsx @@ -1,5 +1,5 @@ import { CodeOutlined, PlayCircleOutlined } from "@ant-design/icons"; -import { Alert, Button, Card, Input, Space, Typography } from "antd"; +import { Alert, Button, Card, Input, Space, Tabs, Typography } from "antd"; import ModelSelector from "@/components/common_components/ModelSelector"; import { TestResult } from "./semanticFilterTestUtils"; @@ -33,9 +33,15 @@ export default function MCPSemanticFilterTestPanel({ curlCommand, }: MCPSemanticFilterTestPanelProps) { return ( - <> - - + +
Test Query @@ -104,41 +110,46 @@ export default function MCPSemanticFilterTestPanel({
)} -
-
- - - - API Usage - - } - > - - Use this curl command to test the semantic filter with your current configuration. - - - {showCurl && ( -
-            {curlCommand}
-          
- )} -
- + + ), + }, + { + key: "api", + label: "API Usage", + children: ( +
+ + + API Usage + + + Use this curl command to test the semantic filter with your current configuration. + + + {showCurl && ( +
+                    {curlCommand}
+                  
+ )} +
+ ), + }, + ]} + /> + ); }