When an assistant takes thirty seconds to answer, people want to know what it is doing. A spinner tells them nothing. The common alternative is to stream the model’s raw reasoning into the interface, under a heading like “thinking”.
We did that for a while. We stopped, and then we deleted what we had stored. This essay explains what replaced it: an activity timeline that shows the progress notes the assistant chose to say out loud, interleaved with the tool calls it made, under a header that measures how long it worked.
What goes wrong with the obvious approaches
Raw reasoning has two problems. The first is that it is not written for a reader. It is the model’s scratchpad: long, repetitive, sometimes wrong in ways the final answer corrects. Showing it invites people to trust or distrust the answer for reasons that have little to do with the answer.
The second problem is that reasoning quotes things. It restates the user’s question and paraphrases whatever the tools retrieved: a contract clause, a customer email, a row from a spreadsheet. Once you store it, you are holding a second copy of personal data in a form nobody reads.
What people actually want is closer to what a colleague does when they pick up a task: “I’ll check the contract folder first,” then a search, then “The renewal terms are in the 2024 amendment, reading that now,” then the answer. Short notes, written for the reader, attached to the work they describe.
The model does not say which text is which
The difficulty is that nothing in the model’s output marks a sentence as a progress note. There is no commentary flag on the text. A model writes “I’ll check the contract folder first” as ordinary content, exactly as it would write the first sentence of an answer.
While the text is streaming, the two are indistinguishable. Only at the end of the model’s turn does it become clear: either the turn ends in a tool call, or it ends with the model done.
So the runtime classifies prose at the one boundary that is already authoritative, which is how the turn ended:
| The turn ended with | Its text is |
|---|---|
| tool calls | commentary: a preamble to work about to happen |
| no tool calls | the answer |
This needs no extra model call, no classifier and no special output format. It uses a fact the runtime already has.
Provisional, then moved, never unwritten
Because nothing can know in advance which kind of text is arriving, text is streamed provisionally as answer text. If the turn then resolves into a tool call, the runtime emits one assistant.commentary event carrying the whole note. Its meaning for the client is: those deltas were activity, not the answer. Move them into the timeline and clear the reply.
turn_outcome.visible_parts.append(answer.flush())
preamble = turn_outcome.visible_text.strip()
answer.discard()
if preamble:
model_call_item.payload = {**model_call_item.payload, "commentary": preamble}
yield events.assistant_commentary(preamble, model_call_item.sequence)
elif turn_outcome.streamed_text:
yield events.assistant_reset(run_id)
Two details matter. The event carries the text exactly as the reader saw it, filtered and with citations rendered, rather than the raw model output. And the client replaces what it holds instead of appending to it, so nothing the reader watched being written simply vanishes. It relocates.
An earlier design used a reset event here: discard what was streamed. That was tidy for the runtime, but it meant a sentence the reader had watched appear was simply taken away. assistant.reset now has only one meaning, a genuine withdrawal, such as when a token stream dies and the turn is asked again. A preamble is never withdrawn.
On the client, the trace has to cope with the same uncertainty. A turn that has done no work yet counts as working until its first token, and a turn that has done work stays working until the run ends. Folding the trace on every token instead made it close on a preamble, show it as the answer, and spring open again when the preamble moved into it.
Asking for notes worth reading
Classification decides where text goes. It does not make the text good. The system prompt asks the model, before a significant or slow set of tool calls, to say in one short sentence what it is about to do and why it helps. It asks for nothing before trivial calls, and for no repetition of what the tool row already says. It also says the update should say what the model is doing, not how it decided to do it, and never expose internal reasoning.
If the model writes no note, none appears. The tool rows stand on their own.
Ordering is the content
A run alternates: say what you are about to do, do it, say the next thing. The interleaving is what shows why a tool was reached for. Showing all the notes and then all the tools would tell a different story from the one the run tells.
Both notes and tool rows carry the run ledger’s own sequence, assigned by the executor when it wrote the row. Building the timeline is a sort on that number, not a reconstruction from model turns. Within one ledger row, the note sorts before the tool calls it introduced.
The finished timeline is stored on the message as activity, so reopening a conversation renders it without fetching every run. Each note is also recorded on the model call that said it, because a run can pause on a question and be finished later by a different process. The ledger survives that gap. The memory of the first process does not.
The live view and the reloaded view build the same shape and go through one renderer, so a conversation reopened tomorrow reads the way it did while it streamed.
The reasoning stays in the backend
Reasoning still arrives from the model on its own channel. The runtime counts it and drops it:
if isinstance(frame, llm_client.ReasoningDelta):
outcome.reasoning_chars += len(frame.text)
continue
The count is kept for accounting. The text is not passed to the answer renderer, not written to the run ledger, and there is no event in the stream contract that could carry it.
Stopping the display was not enough, though. Old runs still held reasoning in three places, and migration 096 deletes them:
agent_items.payload -> 'reasoning', the deliberation itself, formerly capped at 200,000 characters per model call;chat_messages.metadata -> 'thinking', which held only a length and a duration for the old header;chat_messages.metadata -> 'reasoning_content', which held real reasoning text that no code path ever read back.
This data already cascaded from the conversation, and retention and erasure already reached it. We deleted it anyway. In the words of the migration, “no longer shown” is a weaker position than “no longer held”. Its downgrade is explicit that it cannot restore what it deleted.
One write path remains, and it is worth being precise about. Some models expect their own reasoning to be handed back on the next turn. For a model profile that declares this, preserved_thinking, the final reasoning is stored on the message so the next turn can replay it. It is for the model, not for any reader, and it is never displayed. It is kept separate from the display on purpose, so that removing one does not quietly change the other.
“Worked for”, not “thought for”
The old header said how long the model had thought. That number needed the reasoning channel to know when thinking started, a rule for when it ended, and a restart every time a first token turned out to be a preamble.
The new header says “Worked for”, followed by a duration and, when there were actions, a count. The duration runs from the executor starting the run to the run finishing. It is wall-clock work: what the reader actually waited through, measurable without looking at reasoning at all. The action count is derived from the rows the header is about to show, so it cannot disagree with them.
What it costs
- A note appears in the answer slot first. For a moment, a preamble streams where the answer will be before it moves. We think a visible move is better than a disappearance, but it is still movement.
- Notes depend on the model. A model that ignores the instruction produces a timeline of tool rows and nothing else. That is honest but less helpful.
- There is less to inspect. People who found the raw reasoning useful for judging an answer no longer have it. We think the sources, the tool rows and the answer are the right things to judge it by.
- Old answers lost their trace. After the migration, conversations written under the old design show no thinking trace. The deletion is not reversible.
- Older turns are simpler. Turns stored before timelines existed carry only a list of tool activity with no ledger positions. They render as tool-only timelines in their stored order rather than being rewritten.
What we would generalise
- If you need to know what a piece of model output was, look at how the turn ended before adding a classifier or a special format.
- Stream provisionally, then relocate. Never unwrite text a reader has watched appear.
- Give the user-facing record its own authoritative ordering, and store it where the transcript can render it alone.
- Treat model reasoning as data about your users, because it quotes them. Decide whether you need to hold it, not only whether to show it.
- Measure what the reader experienced. Wall-clock work is honest. “Thinking time” is a guess about the model’s internals.