Repository navigation
Conversation
The "request text: N tokens" figure encoded the raw input on its own. It now comes from the build itself: the request segment's rows, with the speaker-0 tag the builder adds and, on the default voice, the tokenizer's special tokens. The family builder records them as Built.text_rows, the default prompt as encodeCounted's text_tokens, and the check no longer re-encodes. A test with untagged and space-led inputs checks that the figure equals the request's share of the assembled rows on both paths; the HTTP fixtures now expect 4110 (4096 bytes behind the 14-byte tag), which the previous head reported as 4096. docs/speech-sampling.md describes the exact --max-frames rule and its message, and docs/drama-http-voices.md states the limits as they are. The --speed-up refusal joins the Metal shape check with a test, the generic check drops its unreachable --speed-up clause and its message no longer lists context, lanes and TP. The CHANGELOG line comes with the landing. Co-authored-by: akol1 <15747200+akol1@users.noreply.github.com>
reply_text.Incremental decodes a reply's new tokens with the previous chunk as context and holds a character split across tokens until it is whole (reply_text.zig:453-485, used at chat_generation.zig:108). No test named either property; main's suite saw them only through other outputs (thinking-tail and wire-byte tests for the hold, two stream arena bounds at 7500 tokens for the window). Two tests over a byte tokenizer whose decode spells a trailing partial UTF-8 sequence as U+FFFD: a split euro sign streams only once whole and the result equals a full decode; over 300 chunks no decode reads more than four tokens. Each fails on its planted mutation (no hold, full re-decode) and passes on main.
ashhart
force-pushed
the
lead/train-1114091957
branch
from
November 14, 2026 10:56
365451a to
5f3cee8
Compare
Owner
Author
|
CI red on this tip (zig-windows); the PRs go on as two smaller trains. |
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.
CI for a landing train: #2929 #2143 #3022 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.