Artifact 57cfa8d1a468bdc2a29c9f2f60cd0c2d436392c1f3c3a0b15a704793f54b7b14:
- File
test/pic/streams/max_tokens.sse
— part of check-in
[c5ab59d7d7]
at
2026-11-18 19:37:32
on branch stage-3
— Adopt Pi's default tools: read, write, edit and bash
Tools take Pi's inputs and return Pi's truncation notices and messages. Edit computes the new file first and journals it with started, so a replay after a crash writes the same bytes and edit joins read and write as replay-safe. Bash keeps the tail of its output, saves the full output when it has to cut, and reports Pi's status lines. Results carry a journaled error flag, cancelled calls are skipped with a result, and the schema moves to version 3. (user: dmestas, size: 809) [annotate] [blame] [check-ins using] [more...]
event: message_start data: {"type":"message_start","message":{"id":"msg_01","type":"message","role":"assistant","model":"claude-opus-5-5","content":[],"stop_reason":null,"usage":{"input_tokens":25,"output_tokens":1}}} event: content_block_start data: {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"toolu_c","name":"write","input":{}}} event: content_block_delta data: {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"path\": \"big.txt\", \"content\": \"aaa"}} event: content_block_stop data: {"type":"content_block_stop","index":0} event: message_delta data: {"type":"message_delta","delta":{"stop_reason":"max_tokens","stop_sequence":null},"usage":{"output_tokens":64000}} event: message_stop data: {"type":"message_stop"}