Artifact bd45dac45d94a4d5295de9668b5b36a6e4acff9a36bebbfaf5357357604f9823:
- File
test/pic/streams/max_tokens.want
— part of check-in
[1d1b0294ce]
at
2026-11-18 17:12:31
on branch stage-2
— Add the SSE framer and Messages API stream decoder
The framer is provider-neutral and pure over bytes. The decoder enforces event order and rebuilds each content block from its start object, so thinking signatures and unknown block types replay verbatim. Eleven recorded streams are decoded whole, bytewise and chunked against frozen summaries, and a libFuzzer target checks chunking independence and that decoded content is a JSON array. (user: dmestas, size: 253) [annotate] [blame] [check-ins using]
result: ok id: msg_01 model: claude-opus-5-5 stop: max_tokens usage: {"input_tokens":25,"output_tokens":64000} error: - content: [{"type":"tool_use","id":"toolu_c","name":"write","input":{"pic_invalid_input":"{\"path\": \"big.txt\", \"text\": \"aaa"}}]