返回 CodeWhale
responses_function_call.sse
根目录 / crates / tui / tests / fixtures / conformance / sse / responses_function_call.sse
1 event: response.created
2 data: {"type":"response.created","response":{"id":"resp_conf_fc","status":"in_progress"}}
3
4 event: response.output_item.added
5 data: {"type":"response.output_item.added","output_index":0,"item":{"type":"function_call","namespace":"codewhale","id":"fc_conf","call_id":"call_conf","name":"get_weather","arguments":""}}
6
7 event: response.function_call_arguments.delta
8 data: {"type":"response.function_call_arguments.delta","item_id":"fc_conf","output_index":0,"delta":"{\"city\":"}
9
10 event: response.function_call_arguments.delta
11 data: {"type":"response.function_call_arguments.delta","item_id":"fc_conf","output_index":0,"delta":"\"Lima\"}"}
12
13 event: response.function_call_arguments.done
14 data: {"type":"response.function_call_arguments.done","item_id":"fc_conf","output_index":0,"arguments":"{\"city\":\"Lima\"}"}
15
16 event: response.output_item.done
17 data: {"type":"response.output_item.done","output_index":0,"item":{"type":"function_call","namespace":"codewhale","id":"fc_conf","call_id":"call_conf","name":"get_weather","arguments":"{\"city\":\"Lima\"}","status":"completed"}}
18
19 event: response.completed
20 data: {"type":"response.completed","response":{"id":"resp_conf_fc","status":"completed","usage":{"input_tokens":25,"output_tokens":9,"total_tokens":34}}}
21
22
22 lines Plain Text