Repository navigation
fix(studio): show local file path tooltip for Hub-tab local models - #6715
Merged
Imagineer99 merged 2 commits intoJun 29, 2026
Merged
Imagineer99 merged 2 commits into
Imagineer99 merged 2 commits into
Conversation
Local models in the Studio Hub tab (Custom folders, LM Studio, and Local models sections) did not reveal their on-disk path on hover, unlike the Fine-tuned rows which already do. Each of these rows maps over a LocalModelInfo with a required path, so pass tooltipText built from the model name and path via a small shared localPathTooltip helper, matching the existing FT-row tooltip format. Refs unslothai#6382
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a helper function localPathTooltip to render a tooltip displaying the model's name and file path. This tooltip is integrated into several ModelRow components within the HubModelPicker to show the local path of the models. There are no review comments, and I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Imagineer99
approved these changes
Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Local models shown in the Studio model picker's Hub tab now reveal their on-disk file path on hover, matching the Fine-tuned rows that already do this.
The shared
ModelRowcomponent already accepts an optionaltooltipTextprop and renders it in aTooltip, and the Fine-tuned/LoRA row passes a two-line block (model name plus address). The three Hub-tab local sections - Custom folders, LM Studio, and Local models - each map over aLocalModelInfothat carries a requiredpath, but none of them passedtooltipText, so hovering a local model surfaced no path.This change adds a small
localPathTooltip(name, path)helper that returns the same two-line JSX the Fine-tuned row uses, and wires it into those three localModelRowcall sites. No new props, types, or backend calls are added.Why this matters
Issue #6382 reports that hovering a Fine-tuned model shows its local address, but hovering a local model that appears in the Hub tab shows nothing, so there is no way to tell where it lives on disk. This restores consistency: any locally-stored model reveals its path on hover regardless of which list renders it.
This is a partial fix scoped to the local-model path tooltip (the first part of the report). The separate request for a distinct online/available indicator on hub models is a UI-design enhancement left to its own change.
Testing
tsc -b(typecheck): no new errors inpickers.tsx(pre-existing errors in unrelated files come from optional dependencies not installed in this environment).biome checkon the file: no new diagnostics introduced (error/warning counts unchanged versus base).Refs #6382
AI was used for assistance.