diff --git a/ui/litellm-dashboard/.eslintrc.json b/ui/litellm-dashboard/.eslintrc.json index af7cc8f07cd..f6f3b359c7c 100644 --- a/ui/litellm-dashboard/.eslintrc.json +++ b/ui/litellm-dashboard/.eslintrc.json @@ -88,6 +88,7 @@ "src/components/policies/policy_test_panel.tsx", "src/components/mcp_tools/McpCrudPermissionPanel.tsx", "src/components/mcp_tools/OAuthFormFields.tsx", + "src/components/transform_request.tsx", "src/components/permissions/VectorStorePermissions.tsx", "src/components/permissions/AgentPermissions.tsx", "src/components/permissions/MCPServerPermissions.tsx", diff --git a/ui/litellm-dashboard/src/components/transform_request.tsx b/ui/litellm-dashboard/src/components/transform_request.tsx index cc68972d009..63b193ccc8d 100644 --- a/ui/litellm-dashboard/src/components/transform_request.tsx +++ b/ui/litellm-dashboard/src/components/transform_request.tsx @@ -1,7 +1,6 @@ import React, { useState } from "react"; -import { Button } from "antd"; -import { CopyOutlined } from "@ant-design/icons"; -import { Title } from "@tremor/react"; +import { Button } from "@/components/ui/button"; +import { Copy } from "lucide-react"; import { transformRequestCall } from "./networking"; import NotificationsManager from "./molecules/notifications_manager"; interface TransformRequestPanelProps { @@ -128,128 +127,56 @@ ${formattedBody} }; return ( -
See how LiteLLM transforms your request for the specified provider.
-+ See how LiteLLM transforms your request for the specified provider. +
++
The request you would send to LiteLLM /chat/completions endpoint.