Detect MLX models installed by LM Studio. - #21
Merged
Conversation
Scans ~/.lmstudio/models (and the legacy ~/.cache/lm-studio/models) for MLX-format model directories, lists them on the Models page with an LM Studio badge, and makes them selectable in chat by loading the model from its directory path. External models are never deleted by Nativ.
Blaizzy
requested changes
Jul 21, 2026
Owner
There was a problem hiding this comment.
Why don't we allow users to pass custom paths that we save to DB instead of hard coding new paths to services we don't own or are sure will remain in the same directory.
This approach is more robust and will allow users to even pass external SSDs as model sources.
And we keep the HF on by default.
Resulting in HF cache + custom paths.
Per review: instead of scanning third-party app directories we don't own, users add custom model folders (external SSDs, LM Studio's models directory, any MLX folder) from a Sources menu on the Models page. Folders persist in settings, are scanned alongside the default Hugging Face cache, and their models appear everywhere with an External badge. Folders that are themselves a model directory, or that nest models one or two levels deep, are all recognized.
Owner
|
Perfect, could you share a screenshot of how it looks like? |
Collaborator
Author
|
tried but don't have enough mem to download full xcode for build, if we merge #20, gh actions can build and i can download to test any prs we make |
Owner
|
No worries, great work! merging it 🚀 |
1 similar comment
Owner
|
No worries, great work! merging it 🚀 |
Owner
|
Please fix conflicts and we can merge |
This was referenced Jul 21, 2026
Lazarus-931
added a commit
that referenced
this pull request
Jul 23, 2026
- gated-hf-download and custom-server-port are shipped (PRs #49, #19/#51), not planned/experimental - reflect merged extras: LM Studio import (#21), chat image paste/screenshot (#39), Developer server port + HF token - image-gen fit-estimate task done via PR #47; note #46 remaining scope - add open issue #57 (Homebrew Cask)
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.
Scans ~/.lmstudio/models (and the legacy ~/.cache/lm-studio/models) for MLX-format model directories, lists them on the Models page with an LM Studio badge, and makes them selectable in chat by loading the model from its directory path. External models are never deleted by Nativ.