返回 CodeWhale
openai_chat_parallel_tool_calls.golden.jsonl
根目录 / crates / tui / tests / fixtures / conformance / sse / openai_chat_parallel_tool_calls.golden.jsonl
1 {"request":[{"method":"POST","path":"/v1/chat/completions"}]}
2 {"type":"message_start","message":{"id":"","type":"message","role":"assistant","content":[],"model":"gpt-4.1","stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":0,"output_tokens":0}}}
3 {"type":"content_block_start","index":0,"content_block":{"type":"tool_use","id":"call_paris","name":"get_weather","input":{}}}
4 {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"{\"city\":"}}
5 {"type":"content_block_delta","index":0,"delta":{"type":"input_json_delta","partial_json":"\"Paris\"}"}}
6 {"type":"content_block_start","index":1,"content_block":{"type":"tool_use","id":"call_oslo","name":"get_weather","input":{}}}
7 {"type":"content_block_delta","index":1,"delta":{"type":"input_json_delta","partial_json":"{\"city\":\"Oslo\"}"}}
8 {"type":"content_block_stop","index":0}
9 {"type":"content_block_stop","index":1}
10 {"type":"message_delta","delta":{"stop_reason":"tool_calls","stop_sequence":null}}
11 {"type":"message_delta","delta":{"stop_reason":null,"stop_sequence":null},"usage":{"input_tokens":57,"output_tokens":31,"prompt_cache_hit_tokens":32,"prompt_cache_miss_tokens":25}}
12 {"type":"message_stop"}
13
13 lines Plain Text