From 8174ad8d62006fb86439029931a49b73dc8361a5 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Wed, 4 Feb 2026 18:37:32 -0800 Subject: [PATCH] ui fix --- .../MCPSemanticFilterTestPanel.tsx | 57 +++++++++++-------- 1 file changed, 33 insertions(+), 24 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 c6d179b2171..084de740014 100644 --- a/ui/litellm-dashboard/src/components/Settings/AdminSettings/MCPSemanticFilterSettings/MCPSemanticFilterTestPanel.tsx +++ b/ui/litellm-dashboard/src/components/Settings/AdminSettings/MCPSemanticFilterSettings/MCPSemanticFilterTestPanel.tsx @@ -13,8 +13,6 @@ interface MCPSemanticFilterTestPanelProps { onTest: () => void; filterEnabled: boolean; testResult: TestResult | null; - showCurl: boolean; - setShowCurl: (value: boolean) => void; curlCommand: string; } @@ -28,8 +26,6 @@ export default function MCPSemanticFilterTestPanel({ onTest, filterEnabled, testResult, - showCurl, - setShowCurl, curlCommand, }: MCPSemanticFilterTestPanelProps) { return ( @@ -125,26 +121,39 @@ export default function MCPSemanticFilterTestPanel({ Use this curl command to test the semantic filter with your current configuration. - - {showCurl && ( -
-                    {curlCommand}
-                  
- )} + + Response headers to check: + + +
+              {curlCommand}
+            
), },