Repository navigation
Set up a first local model entirely in the agents panel - #18907
Merged
Merged
Conversation
The panel's Download and Add another › Local AI no longer open a terminal. A detached setup missing Podman installs it through pkexec, and the panel runs the setup itself, showing an Installing line until the download takes over, the reason if it fails, and the offer again if the password dialog is dismissed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
[High impact] The PR appears safe to merge; no new blocking issues were found. SummaryLocal model setup now stays in the agents panel, with password prompts, progress, and failures shown without opening a setup terminal.
No new actionable issues found. Both earlier concerns are addressed by the setup queue and the separate Delete behavior for panel-owned setup rows.
|
Choosing another model in Add another › Local AI while one setup was still installing Podman did nothing. It now waits on a line of its own and starts once the first hands off to the background; a failed or declined first setup drops it too. Delete on a setup the panel owns no longer offers to delete weights: it forgets a failure, drops one waiting, and leaves the one starting alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Ship Podman in the base install Local models run in Podman, so a fresh install has it ready instead of asking for a password on the first model setup. It's about 26 MiB on the ISO with crun and its dependencies. Machines installed without it still get it on first setup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Install the NVIDIA container toolkit with the NVIDIA driver Local models reach the GPU through the CDI spec the toolkit writes, so an NVIDIA machine now gets it alongside its driver instead of behind a password prompt on the first model setup. The ISO's offline mirror and the N1x package set carry it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Drop the toolkit comment from the N1x package list Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Stop saying Podman comes on first model setup Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
What changes
Setting up the first local model from the agents panel opened a floating terminal so
sudocould install Podman, crun and (on NVIDIA) nvidia-container-toolkit. Add another › Local AI always ran the whole setup in a terminal.Now the whole flow stays in the panel:
omarchy-agent-local use --detachinstalls missing packages withpkexec pacman(no terminal to ask in, per the privilege-escalation rule), prints anError:line on failure, and passes pkexec's 126 through when the password dialog is dismissed.Main.qml, like pairing does) and shows the model's line right away: "Installing" with a progress bar while packages install, then the usual Downloading bar oncestatus.jsontakes over. A failure stays on the line with its reason, linking to the full output; Delete dismisses it. Dismissing the password dialog brings the download offer back.Verification
test/shell.d/agents-panel-test.sh: the wrapper installs through pkexec before handing off, a dismissed dialog exits 126 without starting the setup, and the panel's setup line goes starting → installing → failed-with-reason / gone on cancel / gone once handed off. Both new tests fail on the base branch.test/shell.d/i18n-test.shpasses.Screenshots
🤖 Generated with Claude Code