Skip to content

7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.

TypeScript

fix(ui): surface full provider name when truncated in the model/provider picker (#945) (#971)

tashdroid1196d22dab1b
diff --git a/client/src/components/model-combobox.tsx b/client/src/components/model-combobox.tsx
index 5c095f0c..1e9be28e 100644
--- a/client/src/components/model-combobox.tsx
+++ b/client/src/components/model-combobox.tsx
@@ -101,7 +101,7 @@ export function ModelCombobox({
'flex h-8 w-[260px] items-center justify-between gap-2 whitespace-nowrap rounded-lg border border-input bg-transparent px-3 text-sm outline-none transition-colors hover:bg-muted/50 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 dark:bg-input/30'
}
>
- <span className={`truncate ${triggerLabel ? '' : 'text-muted-foreground'}`}>{triggerLabel || triggerPlaceholder}</span>
+ <span className={`truncate ${triggerLabel ? '' : 'text-muted-foreground'}`} title={triggerLabel || undefined}>{triggerLabel || triggerPlaceholder}</span>
<ChevronsUpDown className="size-4 shrink-0 text-muted-foreground" />
</PopoverTrigger>
<PopoverContent align={align} className="w-[300px] p-0" onKeyDown={onKeyDown}>
@@ -135,7 +135,7 @@ export function ModelCombobox({
}`}
>
<Check className={`size-4 shrink-0 ${o.value === value ? 'opacity-100' : 'opacity-0'}`} />
- <span className={`min-w-0 flex-1 truncate ${o.note ? 'opacity-50' : ''}`}>{o.label}</span>
+ <span className={`min-w-0 flex-1 truncate ${o.note ? 'opacity-50' : ''}`} title={o.label}>{o.label}</span>
{o.note && (
<span className="rounded px-1 py-0.5 text-[9px] font-semibold uppercase leading-none tracking-wide bg-amber-500/15 text-amber-600 dark:text-amber-400">
{o.note}