Skip to content

refresh local model offers when the agents picker opens - #21893

Open
skoobymatic wants to merge 4 commits into
omacom:quattrofrom
skoobymatic:codex/fix-21729-refresh-local-offers
Open

skoobymatic wants to merge 4 commits into
omacom:quattrofrom
skoobymatic:codex/fix-21729-refresh-local-offers

Conversation

@skoobymatic

@skoobymatic skoobymatic commented Dec 5, 2026 •

Copy link
Copy Markdown

Summary

Refresh local model offers whenever the Agents picker opens so it reflects current VRAM. In an isolated picker with a simulated RTX 4090, the stale Inkling offer disappeared at 17.7 GiB free and returned when memory was freed. The focused Agents panel test passes, and three unrelated shell test failures reproduced on the unchanged base. The original RTX 3090 recommendation remains unconfirmed. Roll out the Local AI engine fix first, then this Omarchy update.

Refs #21729

Before: The Agents picker still offers Inkling 2 Mini at 17.7 GiB free.

After: The Agents picker hides Inkling 2 Mini at the same 17.7 GiB free.

Authored with help from 6.2 Sol; could benefit from an adversarial Claude / Gemini review. LMK if any questions.

@greptile-apps

greptile-apps Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The reviewed changes appear safe to merge.

Summary

Refreshes local model offers when the Agents picker opens and when local models change state.

  • The Agents picker refreshes local model offers when it opens.

No new actionable issues found in the changes since the previous review.

Reviews (4) · Last reviewed commit: "Clear Agents picker selection when model..." · Reviewed by Greptile

@omarchybot omarchybot added the bug Something isn't working label Dec 5, 2026
Reopening the picker during a catalog probe could publish the old result after VRAM had changed. Queue one fresh probe and keep new setup offers hidden until it completes.

Use the refreshed catalog for picker offers and installed model metadata so a model can be offered again as soon as removal is recorded. Retry the existing status refresh when the first valid catalog arrives without status. Clear the keyboard selection when fresh model rows replace the selected row.

Co-Authored-By: Codex High <noreply@openai.com>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>
Co-Authored-By: muse-wonder via pi, thinking high <noreply@meta.com>
@omarchybot omarchybot added the verified Omarchy Triage has verified that this issue is ready for final review label Dec 5, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Recommend: Hold — ship the VRAM-aware Local AI engine first. Local AI #201

Pushed 0c96cf0 so reopening replaces stale queries, removed models can reappear, and the picker recovers missing startup status. Codex High, Opus 5.5 High and Muse Wonder High reviewed it. On an ISO worker, reopening hid the Inkling row with 17.7 GiB of simulated free VRAM. The CLI suite passed and the four shell failures reproduced on quattro. A failed listing hides new setup offers until the picker is reopened. The original RTX 3090 recommendation remains unconfirmed.

Before: Inkling remains listed after reopening with 17.7 GiB of simulated free VRAM.
After: The picker omits Inkling with the same simulated VRAM.

@omarchybot omarchybot removed the verified Omarchy Triage has verified that this issue is ready for final review label Dec 6, 2026
A model lifecycle refresh rebuilds the offer rows. Resetting the cursor selects the first sign-in tile, so the next Enter can act on a provider the user never selected.

Clear keyboard and pointer selection in the model rows and retain the row position for the next navigation key.

Co-Authored-By: Codex High <noreply@openai.com>
Co-Authored-By: Opus 5.5 High <noreply@anthropic.com>
@omarchybot omarchybot added the verified Omarchy Triage has verified that this issue is ready for final review label Dec 6, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Recommend: Hold — ship the VRAM-aware Local AI engine first. Local AI #201

Pushed 0da503b so a model refresh clears the selection before Enter can act on a sign-in tile. On an ISO worker, simulated catalog responses showed that late cache writes leave stale offers hidden and model state changes trigger a fresh probe. CLI and picker tests passed. Four shell failures reproduced on quattro. Reviewed by Codex High and Opus 5.5 High, who found the focus jump in the incoming revision. The original RTX 3090 recommendation in #21729 still needs hardware confirmation.

On quattro, the picker still lists Inkling after simulated VRAM runs short
On the verified head, the picker hides the stale Inkling offer

On the incoming head, a model refresh highlights the Claude sign-in tile
On the verified head, the same refresh leaves no tile selected

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

Labels

bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants