返回 CodeWhale
openai_chat_parallel_tool_calls.case.json
根目录 / crates / tui / tests / fixtures / conformance / sse / openai_chat_parallel_tool_calls.case.json
1 {
2 "description": "OpenAI Chat Completions: two parallel tool calls, the first with arguments split across deltas; finish_reason tool_calls; usage in a trailing choices-empty chunk; [DONE]. 5-byte transport chunks.",
3 "route": "openai",
4 "model": "gpt-4.1",
5 "tools": [
6 {
7 "name": "get_weather",
8 "description": "Current weather for a city.",
9 "input_schema": {
10 "type": "object",
11 "properties": {
12 "city": {
13 "type": "string"
14 }
15 },
16 "required": [
17 "city"
18 ]
19 }
20 }
21 ],
22 "chunk_bytes": 5
23 }
24
24 lines JSON