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 tags getting proxy settings (#7234)
Ishaan Jaff222dad27d775
diff --git a/ui/litellm-dashboard/src/components/usage.tsx b/ui/litellm-dashboard/src/components/usage.tsxindex 2e45b9ca9bc..7fd6e1ad5b6 100644--- a/ui/litellm-dashboard/src/components/usage.tsx+++ b/ui/litellm-dashboard/src/components/usage.tsx@@ -244,7 +244,11 @@ const UsagePage: React.FC<UsagePageProps> = ({return;}- if (proxySettings?.DISABLE_EXPENSIVE_DB_QUERIES) {++ // we refetch because the state variable can be None when the user refreshes the page+ const proxy_settings: ProxySettings | undefined = await fetchProxySettings();++ if (proxy_settings?.DISABLE_EXPENSIVE_DB_QUERIES) {return; // Don't run expensive DB queries - return out when SpendLogs has more than 1M rows}