Skip to content

Add Llama to local apps - #2331

Open
erusev wants to merge 1 commit into
huggingface:mainfrom
erusev:add-llama-local-app
Open

Add Llama to local apps#2331
erusev wants to merge 1 commit into
huggingface:mainfrom
erusev:add-llama-local-app

Conversation

@erusev

@erusev erusev commented Jul 29, 2026

Copy link
Copy Markdown
Member

Deeplink: llama://install?repo={org}/{repo}[&quant={label}]. When a GGUF file is selected, its quant label is forwarded via parseGGUFQuantLabel; otherwise the app picks a default.

Icon: same as llama.cpp.


Note

Low Risk
Additive registry entry and tests only; no auth, data, or core inference paths changed.

Overview
Adds Llama (macOS) to the model page Use this model local apps list so GGUF repos can open the native app via deeplink.

The new llama-app entry is macOS-only, shown for the same GGUF models as other llama.cpp-style apps, and builds llama://install?repo={model.id} URLs. When a GGUF filename is passed, parseGGUFQuantLabel adds an optional &quant={label} query param.

Unit tests cover base and quant-specific deeplink URLs.

Reviewed by Cursor Bugbot for commit 64ab1bd. Bugbot is set up for automated code reviews on this repo. Configure here.

@pcuenca pcuenca left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

displayOnModelPage: isLlamaCppGgufModel,
deeplink: (model) => new URL(`jan://models/huggingface/${model.id}`),
},
"llama-app": {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move it just after llama.cpp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants