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.

fix(studio): show local file path tooltip for Hub-tab local models (#6715)

Matt Van Horn54b95fbcc8a7
diff --git a/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx b/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
index 386f233c7b6..5f5d1122048 100644
--- a/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
+++ b/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
@@ -1114,6 +1114,17 @@ function localModelIsGguf(m: LocalModelInfo): boolean {
);
}
+function localPathTooltip(name: string, path: string): ReactNode {
+ return (
+ <>
+ <span className="block break-words">{name}</span>
+ <span className="block mt-1 text-[10px] text-muted-foreground break-all">
+ {path}
+ </span>
+ </>
+ );
+}
+
/** Whether a local model is an MLX build (name hint). MLX runs on Mac only, so
* callers gate visibility on the host being a Mac. */
function localModelIsMlx(m: LocalModelInfo): boolean {
@@ -2928,6 +2939,10 @@ export function HubModelPicker({
<ModelRow
label={m.model_id ?? m.display_name}
meta={isGguf ? "GGUF" : "Local"}
+ tooltipText={localPathTooltip(
+ m.model_id ?? m.display_name,
+ m.path,
+ )}
selected={value === m.id}
optionProps={hubModelList.getOptionProps(
optionKey,
@@ -3017,6 +3032,10 @@ export function HubModelPicker({
<ModelRow
label={m.model_id ?? m.display_name}
meta={isGguf ? "GGUF" : "Local"}
+ tooltipText={localPathTooltip(
+ m.model_id ?? m.display_name,
+ m.path,
+ )}
selected={value === m.id}
optionProps={hubModelList.getOptionProps(
optionKey,
@@ -3098,6 +3117,10 @@ export function HubModelPicker({
<ModelRow
label={m.model_id ?? m.display_name}
meta={isGguf ? "GGUF" : "Local"}
+ tooltipText={localPathTooltip(
+ m.model_id ?? m.display_name,
+ m.path,
+ )}
selected={value === m.id}
optionProps={hubModelList.getOptionProps(
optionKey,