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
fixing build
yuneng-jiang3891774c7258
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/hooks/healthReadiness/useHealthReadiness.ts b/ui/litellm-dashboard/src/app/(dashboard)/hooks/healthReadiness/useHealthReadiness.tsindex e7e599d08be..db394b9f7f8 100644--- a/ui/litellm-dashboard/src/app/(dashboard)/hooks/healthReadiness/useHealthReadiness.ts+++ b/ui/litellm-dashboard/src/app/(dashboard)/hooks/healthReadiness/useHealthReadiness.ts@@ -1,6 +1,6 @@+import { getProxyBaseUrl } from "@/components/networking";import { useQuery, UseQueryResult } from "@tanstack/react-query";import { createQueryKeys } from "../common/queryKeysFactory";-import { getProxyBaseUrl } from "@/components/networking";const healthReadinessKeys = createQueryKeys("healthReadiness");diff --git a/ui/litellm-dashboard/src/components/navbar.test.tsx b/ui/litellm-dashboard/src/components/navbar.test.tsxindex 711f17da32e..7b1c4451d7a 100644--- a/ui/litellm-dashboard/src/components/navbar.test.tsx+++ b/ui/litellm-dashboard/src/components/navbar.test.tsx@@ -1,6 +1,6 @@-import { describe, it, expect, vi } from "vitest";-import { renderWithProviders, screen, waitFor } from "../../tests/test-utils";import userEvent from "@testing-library/user-event";+import { describe, expect, it, vi } from "vitest";+import { renderWithProviders, screen, waitFor } from "../../tests/test-utils";import Navbar from "./navbar";// Mock the hooks and utilitiesdiff --git a/ui/litellm-dashboard/src/components/navbar.tsx b/ui/litellm-dashboard/src/components/navbar.tsxindex 7d5ee3dd6f4..0ef8a505257 100644--- a/ui/litellm-dashboard/src/components/navbar.tsx+++ b/ui/litellm-dashboard/src/components/navbar.tsx@@ -1,23 +1,27 @@-import Link from "next/link";-import React, { useState, useEffect } from "react";-import type { MenuProps } from "antd";-import { Dropdown, Switch, Tooltip } from "antd";+import { useHealthReadiness } from "@/app/(dashboard)/hooks/healthReadiness/useHealthReadiness";import { getProxyBaseUrl } from "@/components/networking";+import { useTheme } from "@/contexts/ThemeContext";+import { clearTokenCookies } from "@/utils/cookieUtils";+import {+ emitLocalStorageChange,+ getLocalStorageItem,+ removeLocalStorageItem,+ setLocalStorageItem,+} from "@/utils/localStorageUtils";+import { fetchProxySettings } from "@/utils/proxyUtils";import {- UserOutlined,- LogoutOutlined,CrownOutlined,+ LogoutOutlined,MailOutlined,- SafetyOutlined,MenuFoldOutlined,MenuUnfoldOutlined,+ SafetyOutlined,+ UserOutlined,} from "@ant-design/icons";-import { clearTokenCookies } from "@/utils/cookieUtils";-import { getLocalStorageItem, setLocalStorageItem, removeLocalStorageItem } from "@/utils/localStorageUtils";-import { fetchProxySettings } from "@/utils/proxyUtils";-import { useTheme } from "@/contexts/ThemeContext";-import { emitLocalStorageChange } from "@/utils/localStorageUtils";-import { useHealthReadiness } from "@/app/(dashboard)/hooks/healthReadiness/useHealthReadiness";+import type { MenuProps } from "antd";+import { Dropdown, Switch, Tooltip } from "antd";+import Link from "next/link";+import React, { useEffect, useState } from "react";interface NavbarProps {userID: string | null;