The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
UI fix linting errors
Ishaan Jaffer6dee76c58042
diff --git a/ui/litellm-dashboard/src/components/search_tools/create_search_tool.tsx b/ui/litellm-dashboard/src/components/search_tools/create_search_tool.tsxindex 1fde7db42b5..4a354e95ee0 100644--- a/ui/litellm-dashboard/src/components/search_tools/create_search_tool.tsx+++ b/ui/litellm-dashboard/src/components/search_tools/create_search_tool.tsx@@ -8,6 +8,7 @@ import { isAdminRole } from "@/utils/roles";import NotificationsManager from "../molecules/notifications_manager";import { useQuery } from "@tanstack/react-query";import SearchConnectionTest from "./search_connection_test";+import Image from "next/image";const { TextArea } = Input;@@ -27,12 +28,12 @@ interface SearchProviderLabelProps {const SearchProviderLabel: React.FC<SearchProviderLabelProps> = ({ providerName, displayName }) => (<div style={{ display: "flex", alignItems: "center" }}>- <img+ <Imagesrc={getSearchProviderLogo(providerName)}alt=""+ width={20}+ height={20}style={{- height: "20px",- width: "20px",marginRight: "8px",objectFit: "contain",}}diff --git a/ui/litellm-dashboard/src/components/search_tools/search_connection_test.tsx b/ui/litellm-dashboard/src/components/search_tools/search_connection_test.tsxindex 4504dd38caf..e18d314591f 100644--- a/ui/litellm-dashboard/src/components/search_tools/search_connection_test.tsx+++ b/ui/litellm-dashboard/src/components/search_tools/search_connection_test.tsx@@ -252,7 +252,7 @@ const SearchConnectionTest: React.FC<SearchConnectionTestProps> = ({<li style={{ marginBottom: "6px" }}>Verify your API key is correct and active</li><li style={{ marginBottom: "6px" }}>Check if the search provider service is operational</li><li style={{ marginBottom: "6px" }}>Ensure you have sufficient credits/quota with the provider</li>- <li style={{ marginBottom: "6px" }}>Review the provider's documentation for any additional requirements</li>+ <li style={{ marginBottom: "6px" }}>Review the provider's documentation for any additional requirements</li></ul></div></div>diff --git a/ui/litellm-dashboard/src/components/search_tools/search_tool_columns.tsx b/ui/litellm-dashboard/src/components/search_tools/search_tool_columns.tsxindex ce43930bbd7..c568fffc65b 100644--- a/ui/litellm-dashboard/src/components/search_tools/search_tool_columns.tsx+++ b/ui/litellm-dashboard/src/components/search_tools/search_tool_columns.tsx@@ -2,7 +2,6 @@ import { ColumnDef } from "@tanstack/react-table";import { SearchTool } from "./types";import { Icon } from "@tremor/react";import { PencilAltIcon, TrashIcon } from "@heroicons/react/outline";-import { Tooltip } from "antd";export const searchToolColumns = (onView: (searchToolId: string) => void,