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
fix(ui): fit session sort toggle inside sidebar column
Thibault Serot5d89be551bbe
diff --git a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsxindex 79592216942..92cf90fad63 100644--- a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx+++ b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx@@ -387,18 +387,17 @@ export function LogDetailsDrawer({</div>)}{isSessionMode && (- <div className="mt-1.5 flex items-center gap-1.5">- <span className="text-[10px] uppercase tracking-wide text-slate-500">Sort by</span>- <Segmented- size="small"- options={[- { label: "Duration", value: "duration" },- { label: "Start time", value: "start_time" },- ]}- value={sessionSortMode}- onChange={(value) => setSessionSortMode(value as SessionLogSortMode)}- />- </div>+ <Segmented+ block+ size="small"+ className="mt-1.5 [&_.ant-segmented-item-label]:text-[11px]"+ options={[+ { label: "Duration", value: "duration" },+ { label: "Start time", value: "start_time" },+ ]}+ value={sessionSortMode}+ onChange={(value) => setSessionSortMode(value as SessionLogSortMode)}+ />)}</div>