返回 CodeWhale
anthropic_thinking_text_usage.golden.jsonl
根目录 / crates / tui / tests / fixtures / conformance / sse / anthropic_thinking_text_usage.golden.jsonl
1 {"request":[{"method":"POST","path":"/v1/messages"}]}
2 {"type":"message_start","message":{"id":"msg_conf_01","type":"message","role":"assistant","content":[],"model":"claude-sonnet-4-6","stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":50,"output_tokens":1,"prompt_cache_hit_tokens":8,"prompt_cache_miss_tokens":42,"prompt_cache_write_tokens":0}}}
3 {"type":"ping"}
4 {"type":"content_block_start","index":0,"content_block":{"type":"thinking","thinking":""}}
5 {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":"The user wants a greeting. "}}
6 {"type":"content_block_delta","index":0,"delta":{"type":"thinking_delta","thinking":"Keep it short."}}
7 {"type":"content_block_delta","index":0,"delta":{"type":"signature_delta","signature":"c2lnbmF0dXJlLWZpeHR1cmU="}}
8 {"type":"content_block_stop","index":0}
9 {"type":"content_block_start","index":1,"content_block":{"type":"text","text":""}}
10 {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":"Hello"}}
11 {"type":"content_block_delta","index":1,"delta":{"type":"text_delta","text":" — ünïcode ✓"}}
12 {"type":"content_block_stop","index":1}
13 {"type":"message_delta","delta":{"stop_reason":"end_turn","stop_sequence":null},"usage":{"input_tokens":0,"output_tokens":17,"prompt_cache_hit_tokens":0,"prompt_cache_miss_tokens":0,"prompt_cache_write_tokens":0}}
14 {"type":"message_stop"}
15
15 lines Plain Text