Cutting the live capture at a pause can hand over a piece made only of silence,
typically the end of a recording. Whisper does not return nothing on those: it
invents a line, which then ended up inside the question. A piece with no speech
in it is now dropped instead of transcribed, and so is a silent tail at the end
of the capture, so the words already transcribed are the whole question.
The three things that decide whether the assistant remembers anything are not
obvious from the code: the system prompt carries the identity and the fact that
the history is its memory, the replayed context is bounded per project, and the
requested context window decides how much of it survives Ollama's truncation.
Record the measured numbers, the acoustic rules of the live capture, and the
known limit that a 3B model still mishandles a recap question about the very
first message.
Two things made Jarvis feel worse than it was. Its Markdown arrived as raw
syntax, because egui has no Markdown widget and the bundled fonts have a
single weight per family; the renderer therefore builds its own styled
LayoutJob, which keeps the bubble sizing already in place and tolerates a
half-streamed answer instead of printing markers. And the voice only started
once the whole answer was generated, so a long reply was read out after a
silence as long as the reply itself; the stream is now cut into sentences as
soon as their punctuation arrives, and the spoken text drops the Markdown and
the code blocks, since nobody wants asterisks and backticks read aloud.
The client also wakes the model on the first keystroke of a draft or when
recording starts, so the load happens while the sentence is still being
written, and it now sends a history the backend accepts: empty assistant
bubbles left by an abandoned answer are dropped, and only the last fifty
messages travel, which a long conversation used to overflow.
Holding the button to talk forced the hand to stay on the mouse for the whole
sentence; a press to start and a second press to stop keeps both hands free and
matches how the cumulative capture is transcribed anyway. The shortcut mirrors
the button from either tab, and is consumed so the space never reaches the
compose box.
Document the HTTP contract, the data model, the streaming design and the
key trade-offs, and describe the new companion mode in the frontend
architecture notes.