Skip to content

Studio: show the llama.cpp update banner sooner and keep it until dismissed - #6162

Merged
danielhanchen merged 1 commit into
mainfrom
studio/llama-update-banner-persist
Jun 10, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
studio/llama-update-banner-persist

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

Follow-up to #6097. The in-app "Update llama.cpp" banner appeared 8 seconds after load and faded on its own after about 10 seconds. This makes it show about 1 second after a newer prebuilt is detected and keep it up until the user acts on it.

What changed

  • hooks/use-llama-update-check.ts: first check delay 8s to 1s; removed the 10s auto-hide entirely (the banner now stays visible once surfaced). The hourly re-check and the apply/poll flow are unchanged.
  • components/llama-update-banner.tsx: dismiss when the user clicks anything outside the banner (in addition to the existing X button and Update). The outside-click handler is disabled while an update is applying so the progress stays visible.

Testing

  • Frontend tsc -b type-check passes; biome formatting applied.
  • Verified live on an NVIDIA B200: the banner appears about 1 second after load, stays up until a click outside (or the X), and the Update button swaps the prebuilt in place (b9334 and b9493 both updated to the latest b9585 with no restart).

…missed

Follow-up to #6097. The update banner appeared 8s after load and auto-hid after
about 10s. Show it about 1s after a newer prebuilt is detected and keep it up
until the user dismisses it (click outside or the X) or runs the update; it
stays during an in-progress update so the progress is visible.
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@danielhanchen
danielhanchen merged commit aa3b46f into main Jun 10, 2026
29 of 33 checks passed
@danielhanchen
danielhanchen deleted the studio/llama-update-banner-persist branch June 10, 2026 17:48
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.

2 participants