Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

merge nightly

Shine1i3c728f5eb3dd
diff --cc studio/frontend/src/components/ui/combobox.tsx
index 157fe3ab686,8ccc40c95f0..34b66ea64e3
--- a/studio/frontend/src/components/ui/combobox.tsx
+++ b/studio/frontend/src/components/ui/combobox.tsx
@@@ -140,42 -140,42 +140,42 @@@ function ComboboxInput(
);
}
- function ComboboxContent({
- className,
- side = "bottom",
- sideOffset = 6,
+ function ComboboxContent({
+ className,
+ side = "bottom",
+ sideOffset = 6,
- align = "start",
- alignOffset = 0,
- anchor,
- container,
- ...props
-}: ComboboxPrimitive.Popup.Props &
- Pick<
- ComboboxPrimitive.Positioner.Props,
- "side" | "align" | "sideOffset" | "alignOffset" | "anchor"
- > & {
- container?: HTMLElement | null;
- }): React.ReactElement {
- const dialogContainer = useDialogPortalContainer();
- return (
- <ComboboxPrimitive.Portal container={container ?? dialogContainer ?? undefined}>
+ align = "start",
+ alignOffset = 0,
+ anchor,
+ container,
+ ...props
+}: ComboboxPrimitive.Popup.Props &
+ Pick<
+ ComboboxPrimitive.Positioner.Props,
+ "side" | "align" | "sideOffset" | "alignOffset" | "anchor"
+ > & {
+ container?: HTMLElement | null;
+ }): React.ReactElement {
+ const dialogContainer = useDialogPortalContainer();
+ return (
+ <ComboboxPrimitive.Portal container={container ?? dialogContainer ?? undefined}>
- <ComboboxPrimitive.Positioner
- side={side}
- sideOffset={sideOffset}
- align={align}
- alignOffset={alignOffset}
- anchor={anchor}
- className="isolate z-50"
- >
- <ComboboxPrimitive.Popup
- data-slot="combobox-content"
- data-chips={!!anchor}
- className={cn(
- "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 shadow-border ring-1 ring-border *:data-[slot=input-group]:bg-input/30 max-h-72 min-w-36 overflow-hidden rounded-xl corner-squircle duration-100 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-9 *:data-[slot=input-group]:border-none *:data-[slot=input-group]:shadow-none group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) data-[chips=true]:min-w-(--anchor-width)",
- className,
- )}
- {...props}
- />
+ <ComboboxPrimitive.Positioner
+ side={side}
+ sideOffset={sideOffset}
+ align={align}
+ alignOffset={alignOffset}
+ anchor={anchor}
+ className="isolate z-[120] pointer-events-auto"
+ >
+ <ComboboxPrimitive.Popup
+ data-slot="combobox-content"
+ data-chips={!!anchor}
+ className={cn(
+ "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 shadow-border ring-1 ring-border *:data-[slot=input-group]:bg-input/30 max-h-72 min-w-36 overflow-hidden rounded-xl corner-squircle duration-100 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-9 *:data-[slot=input-group]:border-none *:data-[slot=input-group]:shadow-none group/combobox-content relative pointer-events-auto max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) data-[chips=true]:min-w-(--anchor-width)",
+ className,
+ )}
+ {...props}
+ />
</ComboboxPrimitive.Positioner>
</ComboboxPrimitive.Portal>
);
diff --cc studio/frontend/src/features/onboarding/components/steps/dataset-step.tsx
index 7fc42fd2640,c9a820c59c1..f5ba2eb8982
--- a/studio/frontend/src/features/onboarding/components/steps/dataset-step.tsx
+++ b/studio/frontend/src/features/onboarding/components/steps/dataset-step.tsx
@@@ -251,19 -254,11 +254,11 @@@ export function DatasetStep()
>
<ComboboxList className="p-1 !max-h-none !overflow-visible">
{(id: string) => {
- const r = hfResults.find((r) => r.id === id);
- const detail = r?.totalExamples
- ? `${formatCompact(r.totalExamples)} rows`
- : (r?.sizeCategory ?? null);
return (
- <ComboboxItem
- key={id}
- value={id}
- className="gap-2"
- >
- <ComboboxItem key={id} value={id}>
++ <ComboboxItem key={id} value={id} className="gap-2">
<Tooltip>
<TooltipTrigger asChild={true}>
- <span className="min-w-0 flex-1 truncate">
+ <span className="block min-w-0 flex-1 truncate">
{id}
</span>
</TooltipTrigger>
diff --cc studio/frontend/src/features/studio/sections/dataset-section.tsx
index 629df50200f,fb2a3ca0d5b..57e50bced59
--- a/studio/frontend/src/features/studio/sections/dataset-section.tsx
+++ b/studio/frontend/src/features/studio/sections/dataset-section.tsx
@@@ -221,24 -223,11 +223,11 @@@ export function DatasetSection()
>
<ComboboxList className="p-1 !max-h-none !overflow-visible">
{(id: string) => {
- const r = hfResults.find((ds) => ds.id === id);
- let detail: string | null = null;
- if (r?.totalExamples) {
- detail = `${formatCompact(r.totalExamples)} rows`;
- } else if (r?.sizeCategory) {
- detail = r.sizeCategory;
- } else if (r?.downloads != null) {
- detail = `↓${formatCompact(r.downloads)}`;
- }
return (
- <ComboboxItem
- key={id}
- value={id}
- className="gap-2"
- >
- <ComboboxItem key={id} value={id}>
++ <ComboboxItem key={id} value={id} className="gap-2">
<Tooltip>
<TooltipTrigger asChild={true}>
- <span className="min-w-0 flex-1 truncate">
+ <span className="block min-w-0 flex-1 truncate">
{id}
</span>
</TooltipTrigger>