mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
UI - Fix image overflow in LiteLLM model (#13639)
* Improve LiteLLM model name display with better styling and overflow handling Co-authored-by: ishaan <ishaan@berri.ai> * Add Tooltip to LiteLLM model name for improved text display Co-authored-by: ishaan <ishaan@berri.ai> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: ishaan <ishaan@berri.ai>
This commit is contained in:
parent
5631d97964
commit
17db9edd85
1 changed files with 9 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue