Skip to content

Delete the warm pass that truncated her generated tokens out of her KV during every tool call - #6111

Merged
joelteply merged 5 commits into
canaryfrom
fable/continue-her-response
Nov 17, 2026
Merged

joelteply merged 5 commits into
canaryfrom
fable/continue-her-response

Conversation

@joelteply

@joelteply joelteply commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

How this serves the minds

Never process twice. prefill_during_tool re-sent the prompt she was served while her tool ran, so the engine truncated her generated tokens (reasoning and call) out of her KV, and her next request recomputed them. Deleting it keeps her tokens in her slot. A slot another mind took is paged in by her real request; the 4.14 persona bind replaces that next.

Change

Deleted prefill_during_tool.rs (193 lines) and its test, its faculty field, and its two call sites in contribute.rs. No replacement path.

The continues request field is out of this PR: the continuation becomes a token-id append on the persona seam (CONTINUUM-ENGINE 4.14, #6092; fork #147 llama-persona-tokens).

Measured after deploy

Owner: Fable. On the M5: delib.prompt.reuse_split gap and prefill tokens per tool-continuation act, before vs after. delib.prefill.during_tool* probes disappear.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…t truncated her generated tokens is deleted

Her request names itself (request_id) and the request whose response her engine holds as her
newest (continues). Our fork (CambrianTech/llama.cpp#149) then serves it from her slot's tokens
for that response (her reasoning and her call as she generated them) plus only what is new,
instead of re-rendering her response without its reasoning and rewinding to a checkpoint to
recompute it (the M5, 2026-11-17: a 2,048-token gap on every act). Inert until the pin
includes #149: an engine that does not read the fields ignores them.

The warm pass during her tool (prefill_during_tool) re-sent the prompt she was served, which
truncated her generated tokens out of her KV; it is deleted. Her slot keeps her tokens; a slot
another mind took is paged in by her real request, and becomes the 4.14 persona bind.
CONTINUUM-ENGINE 4.14 slice (c). -271 +74 lines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply joelteply changed the title Her request continues her last served response; the warm pass that truncated her tokens is deleted (4.14 slice c) Delete the warm pass that truncated her generated tokens out of her KV during every tool call Nov 17, 2026
@joelteply
joelteply merged commit 2ba7948 into canary Nov 17, 2026
17 checks passed
@joelteply
joelteply deleted the fable/continue-her-response branch November 17, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant