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]

fix client side exception (#13684)

Ishaan Jaff5c4ba732a61d
diff --git a/ui/litellm-dashboard/src/components/model_dashboard.tsx b/ui/litellm-dashboard/src/components/model_dashboard.tsx
index c9143d1fbfa..7542ad3b13e 100644
--- a/ui/litellm-dashboard/src/components/model_dashboard.tsx
+++ b/ui/litellm-dashboard/src/components/model_dashboard.tsx
@@ -1396,7 +1396,7 @@ const ModelDashboard: React.FC<ModelDashboardProps> = ({
// Model name filter
const modelNameMatch = selectedModelGroup === "all" ||
model.model_name === selectedModelGroup ||
- !selectedModelGroup || (selectedModelGroup === "wildcard" && model.model_name.includes('*'));
+ !selectedModelGroup || (selectedModelGroup === "wildcard" && model.model_name?.includes('*'));
// Model access group filter
const accessGroupMatch =
selectedModelAccessGroupFilter === "all" ||