Repository navigation
LLeMbas for Android 1.0.0-beta.8
Pre-release
Pre-release
·
0 commits
to main
since this release
For LLeMbas server 2.0.0-beta.11 or later. Three files now: the standard app, -notifications (the same app with notification summaries) and -fdroid.
Added
- Test the wake word (Settings › Wake word): for ten seconds the row shows what the wake word
is doing and says Heard it when your phrase lands, without opening the assistant -- so a
phrase, a sensitivity and a place in the room can be tried before relying on them.
Fixed
- The wake word never started, on any phone. The engine read its model out of the APK in a
way that only works for files stored uncompressed, and they were not; the failure was swallowed,
so the notification went on saying it listened. The model is now copied out by stream (once per
model version, so an update that brings a new model replaces the old one) and stored
uncompressed as well. - The wake word's notification told the default phrase, not yours, each time the app was
opened. It is now written from one place, from what the wake word is really doing. - Hearing the word when LLeMbas is not the phone's assistant and not on screen did nothing at
all: Android blocks an activity started from the background without saying so, and the app
took the silence for success. It now posts Heard you. Tap to ask. on a channel of its own that
comes up over what is on screen, and Settings › Wake word says plainly that only the phone's
digital assistant app can open by voice over other apps, with a row that opens that setting. - The wake word could stay "paused while the assistant is open" for good if its service ended in
the three seconds after the word. The hold now ends by itself, whatever happens to the service. - Turning the wake word off and on again quickly could leave "not listening" showing over a wake
word that listened, or close the app (the service was stopped under a start still on its way).
Stop is now the setting going off, and the service ends itself. - A change of phrase could release the engine while the old listening loop was still using it.
The old loop is now stopped and waited for first. - A microphone that failed to start, or stopped giving sound, was not noticed (and one kind of
failure kept a processor core busy for nothing). Both are failures that are shown now. - Opening the app with the wake word on but the microphone permission taken away could close the
app. The service is no longer started without the permission; the state says what is missing.
Changed
- One display with the web, Desktop and the CLI (harness spec 3.7.0,
display.md):- A reply that was stopped or failed keeps the spec's line at its end -- Stopped: by you,
Stopped: step limit, Stopped: budget, Failed: … -- an error in the error colour, a stop
muted. A stopped reply said nothing at all before, and a failed one showed the raw error. - A finished tool call says how long it took (
0.4s,1m 05s,2h 03m) where the instance
sends the call's time; a running or a denied call shows none. - Counts in the progress line are in the phone's own number format (
12,480,12 480,
12.480); a tool call's title that had to be cut ends in…; the clock is joined by the
shared separator instead of a copy of it. - The approval card offers the spec's four actions: Allow once, Always allow, Deny, and
Deny, and say why. The plan card approves together with the mode to continue in --
Approve, continue in Edit or Approve, continue in Manual -- and Revise.
- A reply that was stopped or failed keeps the spec's line at its end -- Stopped: by you,
- With LLeMbas 2.0.0-beta.11: a reply that was stopped or failed says so with its reason after a
reload too (the instance stores how it ended); Always allow is offered only where the request
offers it; a tool call's time is the instance's own; a call without a title is named as the
instance names its tool. The notifications build can take its own file from the instance's
recommendation of the same release when the website's manifest names none. - A reply ends when it is saved, and the chat's name follows (with a server that sends
done
first: LLeMbas 2.0.0-beta.11). The app treatsdoneas the end -- the transcript, a spoken
answer and a queued prompt no longer wait for a model to name a new chat -- and takes the name
from thetitleframe when it comes. - Wake phrases the engine can hear. "Hey Lembas" is gone: Lembas is not a word the engine's
model was ever trained on, so it had to be repeated until it happened to land. The phrase is now
a greeting and a name, each chosen in Settings › Wake word: Hey, OK or Hello, then
Assistant, Computer, Google (Settings says a Google device nearby will answer too),
or an ordinary name -- Victoria, Samantha, Jessica, Amanda, Olivia, Oliver, Sebastian, Jonathan,
Alexander, Christopher. The default is "Hey Assistant", and a phrase saved by an earlier beta
becomes it. The phrases are English whatever language the app is in, and Settings says so: the
model knows English speech only. - Sensitivity (Low, Normal, High) in Settings › Wake word: how easily the phrase is taken as
heard, against how often it starts by mistake. Each phrase now goes to the engine with a
boosting score and a trigger threshold (1.0 / 0.35, 1.5 / 0.25, 2.0 / 0.15; a short phrase such
as "OK Computer" is held 0.05 stricter). These are starting values from the engine's
documentation, not yet tuned on phones. - The phrases' spelling in the model's token pieces is generated from the model's own tokenizer
(scripts/gen-wake-phrases.py) and checked against its token table in CI, instead of written by
hand. Elizabeth and Benjamin are left out: the tokenizer can only spell them letter by letter. - Notification summaries moved to a build of their own,
llembas-android-<version>-notifications.apk:
the same app with the same signature, plus the notification listener. Google Play Protect
blocked installing beta.7, most likely because an app from outside the Play Store that can read
notifications is what it looks for; the standard and F-Droid APKs now declare no notification
listener at all, and Settings says where notification summaries went and why. The
notifications build installs over the standard one as an ordinary update, and back; it updates
itself only to its own kind. - A smaller download. Release APKs no longer carry the emulator's x86_64 libraries (about
36 MB of beta.7's 98 MB) nor two libraries of the wake-word engine the app never calls. - The wake word says what it is doing, in its notification and under its switch in Settings:
Starting, Listening for "…", paused and why (screen off, battery saver, assistant open, no
microphone permission, or the microphone gives no sound because another app has it or it is
switched off), or not working and why (its model could not be unpacked, the engine did not
start, the microphone did not start) -- with the technical reason under it in Settings. A
failure is tried again by itself, after 2 s, 5 s, 15 s, a minute, then every five minutes. - A tap on a failure in Settings tries again at once; trouble after half a minute of listening
well starts the waits over instead of counting on from old failures. Say the phrase and then
leave a short pause: the engine takes it as heard once something else follows (Settings and the
test row say so). - A microphone permission given or taken in the system's settings is noticed when the app comes
back to the screen.