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: Log page parameter passing error

zhxlp54cca0cc7e12
diff --git a/ui/litellm-dashboard/src/components/view_logs/index.tsx b/ui/litellm-dashboard/src/components/view_logs/index.tsx
index c45116c0ddd..6c9ef66e95b 100644
--- a/ui/litellm-dashboard/src/components/view_logs/index.tsx
+++ b/ui/litellm-dashboard/src/components/view_logs/index.tsx
@@ -80,6 +80,7 @@ export default function SpendLogsTable({
const [selectedKeyInfo, setSelectedKeyInfo] = useState<KeyResponse | null>(null)
const [selectedKeyIdInfoView, setSelectedKeyIdInfoView] = useState<string | null>(null)
const [selectedStatus, setSelectedStatus] = useState("")
+ const [selectedEndUser, setSelectedEndUser] = useState("")
const [filterByCurrentUser, setFilterByCurrentUser] = useState(userRole && internalUserRoles.includes(userRole))
const [activeTab, setActiveTab] = useState("request logs")
@@ -193,6 +194,7 @@ export default function SpendLogsTable({
currentPage,
pageSize,
filterByCurrentUser ? userID : undefined,
+ selectedEndUser,
selectedStatus,
selectedModel,
)
@@ -280,6 +282,7 @@ export default function SpendLogsTable({
}
setSelectedStatus(filters["Status"] || "")
setSelectedModel(filters["Model"] || "")
+ setSelectedEndUser(filters["End User"] || "")
if (filters["Key Hash"]) {
setSelectedKeyHash(filters["Key Hash"])