返回 CodeWhale
anthropic_tool_use_deltas.golden.jsonl
根目录 / crates / tui / tests / fixtures / conformance / sse / anthropic_tool_use_deltas.golden.jsonl
1 {"request":[{"method":"POST","path":"/v1/messages"}]}
2 {"type":"message_start","message":{"id":"msg_conf_02","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":"content_block_start","index":0,"content_block":{"type":"text","text":""}}
4 {"type":"content_block_delta","index":0,"delta":{"type":"text_delta","text":"Checking."}}
5 {"type":"content_block_stop","index":0}
6 {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"toolu_conf_01","name":"get_weather","input":{}}}
7 {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":""}}
8 {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"city\""}}
9 {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":": \"Par"}}
10 {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"is\"}"}}
11 {"type":"content_block_stop","index":1}
12 {"type":"message_delta","delta":{"stop_reason":"tool_use","stop_sequence":null},"usage":{"input_tokens":0,"output_tokens":24,"prompt_cache_hit_tokens":0,"prompt_cache_miss_tokens":0,"prompt_cache_write_tokens":0}}
13 {"type":"message_stop"}
14
14 lines Plain Text