The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 01:45 UTC
fix(web): provider model names no longer get cut off by their slug (#16522)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
IlyaL committed
Oct 19, 2026 at 11:08 UTC
4ddc2f0f3410ecc47223ca6b07fa18168fef1755
1 file changed
+22
-4
apps/web/src/components/settings/ProviderModelsSection.tsx
+22
-4
@@ -501,11 +501,29 @@ function ProviderModelRow({
501
</TooltipPopup>
502
</Tooltip>
503
<span className="flex min-w-0 items-baseline gap-2">
504
- <span className={cn(nameClassName, "truncate")}>{model.name}</span>
505
- {model.name !== model.slug ? (
506
- <code className="truncate font-mono text-2xs text-muted-foreground/70">{model.slug}</code>
504
+ <Tooltip>
505
+ <TooltipTrigger
506
+ render={
507
+ <span tabIndex={0} className="flex min-w-0 items-baseline gap-2 overflow-hidden" />
508
+ }
509
+ >
510
+ <span className={cn(nameClassName, "max-w-full shrink-0 truncate")}>{model.name}</span>
511
+ {model.name !== model.slug ? (
512
+ <code className="truncate font-mono text-2xs text-muted-foreground/70">
513
+ {model.slug}
514
+ </code>
515
+ ) : null}
516
+ </TooltipTrigger>
517
+ <TooltipPopup side="top" align="start">
518
+ <div>{model.name}</div>
519
+ {model.name !== model.slug ? (
520
+ <code className="font-mono text-2xs text-muted-foreground">{model.slug}</code>
521
+ ) : null}
522
+ </TooltipPopup>
523
+ </Tooltip>
524
+ {model.isCustom ? (
525
+ <span className="shrink-0 text-2xs text-muted-foreground/70">custom</span>
526
) : null}
508
- {model.isCustom ? <span className="text-2xs text-muted-foreground/70">custom</span> : null}
527
</span>
528
<span className="text-2xs text-muted-foreground/70">
529
{capLabels.length > 0 ? (