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]

UI - Fix image overflow in LiteLLM model (#13639)

Ishaan Jaff17db9edd850e
diff --git a/ui/litellm-dashboard/src/components/model_info_view.tsx b/ui/litellm-dashboard/src/components/model_info_view.tsx
index 115be00779b..34d0371bbfc 100644
--- a/ui/litellm-dashboard/src/components/model_info_view.tsx
+++ b/ui/litellm-dashboard/src/components/model_info_view.tsx
@@ -399,9 +399,15 @@ export default function ModelInfoView({
</Card>
<Card>
<Text>LiteLLM Model</Text>
- <pre>
- <Title>{modelData.litellm_model_name || "Not Set"}</Title>
- </pre>
+ <div className="mt-2 overflow-hidden">
+ <Tooltip title={modelData.litellm_model_name || "Not Set"}>
+ <div
+ className="break-all text-sm font-medium leading-relaxed cursor-pointer"
+ >
+ {modelData.litellm_model_name || "Not Set"}
+ </div>
+ </Tooltip>
+ </div>
</Card>
<Card>
<Text>Pricing</Text>