Skip to content

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]

Update ui/litellm-dashboard/src/components/networking.tsx

yuneng-jiang724ab1c1540d
diff --git a/ui/litellm-dashboard/src/components/networking.tsx b/ui/litellm-dashboard/src/components/networking.tsx
index cd5feed9d79..1a2e8bdc81d 100644
--- a/ui/litellm-dashboard/src/components/networking.tsx
+++ b/ui/litellm-dashboard/src/components/networking.tsx
@@ -2636,7 +2636,7 @@ export const uiSpendLogsCall = async ({
if (value == null) continue;
if (key === "min_spend" || key === "max_spend") {
queryParams.append(key, value.toString());
- } else if (key === "sort_order" || value !== "") {
+ } else if (typeof value === "string" && value !== "") {
queryParams.append(key, String(value));
}
}