Artifact 7beb4eabb010ab7fadf213db53c4e493670e70141921b6a46beb88d6e0acc0e0:
- File
test/pic/streams/thinking_tool.want
— part of check-in
[3ff8346a3f]
at
2026-11-19 00:38:38
on branch stage-4
— Journal every reply in two forms and convert across models
Assistant entries keep the provider content verbatim with its origin (provider, api, model) and Pi neutral form; tool calls come from the neutral form, the same for every provider. A turn goes back verbatim to the model that wrote it and is otherwise rebuilt from the neutral form, without thinking and with tool-call ids normalised identically in calls and results. --model resolves through the registry, keys come from the model, and schema 3 journals migrate in place on open. (user: dmestas, size: 278) [annotate] [blame] [check-ins using] [more...]
result: ok id: msg_tt model: model-a stop: tool_use usage: {"input_tokens":30,"output_tokens":20} error: - content: [{"type":"thinking","thinking":"Write it.","signature":"SIG-A-123"},{"type":"tool_use","id":"call|item.1","name":"write","input":{"path":"t.txt","content":"x"}}]