Repository navigation
ui: name the PWA from the build env and default it to Llama Chat - #32890
Merged
allozaur merged 1 commit intoNov 23, 2026
Merged
Conversation
The manifest is built in Node by its Vite plugin, where import.meta.env is not set, so it was always named llama-ui whatever VITE_PUBLIC_APP_NAME said. The plugin now names it from the env Vite loaded (.env files included), and the default name is Llama Chat. Assisted-by: Claude (Opus 5.5 Medium)
ServeurpersoCom
approved these changes
Nov 23, 2026
allozaur
added a commit
to allozaur/llama.cpp
that referenced
this pull request
Nov 24, 2026
ggml-org#32890 named the PWA Llama Chat by default, but the E2E test still expected llama-ui, so the UI workflow failed on master and on every UI PR. Assisted-by: Claude (Opus 5.5 Medium)
allozaur
added a commit
that referenced
this pull request
Nov 24, 2026
#32890 named the PWA Llama Chat by default, but the E2E test still expected llama-ui, so the UI workflow failed on master and on every UI PR. Assisted-by: Claude (Opus 5.5 Medium)
allozaur
added a commit
to allozaur/llama.cpp
that referenced
this pull request
Nov 24, 2026
ggml-org#32890 named the PWA Llama Chat by default, but the E2E test still expected llama-ui, so the UI workflow failed on master and on every UI PR. Assisted-by: Claude (Opus 5.5 Medium)
allozaur
added a commit
that referenced
this pull request
Nov 24, 2026
…px --server (#32945) * ui: run Llama Chat apart from llama-server, named in config.json The app reads config.json, a file next to index.html, once before it starts. A "server" URL in it sends every API request there instead of to the app's own origin: /props, /v1, /models, /tools, the CORS proxy and the realtime socket. Without one nothing changes. npx llama-chat --server <url> answers that file itself, and npx llama-chat build --server <url> writes it. The service worker leaves it out of its cache, so a host can change it without a new build. Assisted-by: Claude (Fable 5.2) * ui: release Llama Chat 0.2.0 with --server Bumps @ggml-org/llama-chat and llama-chat to 0.2.0 so the publish workflow ships the --server flag to npx once this reaches master. Assisted-by: Claude (Opus 5.5 Medium) * ui: expect the Llama Chat name in the PWA manifest e2e test #32890 named the PWA Llama Chat by default, but the E2E test still expected llama-ui, so the UI workflow failed on master and on every UI PR. Assisted-by: Claude (Opus 5.5 Medium)
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.
Overview
An installed Llama Chat now carries the name its build sets, and it is called Llama Chat by default.
Additional information
Cause
The web manifest is built in Node by its Vite plugin.
APP_NAMEreadsimport.meta.env.VITE_PUBLIC_APP_NAME, which Node does not have, so the manifest was always namedllama-ui, whatever the build set.What changed
vite-plugin-pwa-manifest.tsbuilds the manifest inconfigResolved, from the env Vite loaded (.envfiles included), withpwaManifest(env)inpwa.constants.ts.APP_NAME(and the one in.env.example) isLlama Chatinstead ofllama-ui.Testing
npx vite build: the manifest'snameandshort_nameareLlama Chat.VITE_PUBLIC_APP_NAME=Foo npx vite build: both areFoo.npm run check,eslintandprettierpass.Requirements
Claude (Opus 5.5 Medium)