interplane-mv
INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.
Brought by drakestapleton
interplane-mv / dialects / fixtures / openai_stream / error-second-choice.json
| 1 | { |
| 2 | "dialect": "openai_stream", |
| 3 | "name": "error-second-choice", |
| 4 | "description": "A chunk for choice index 1: stream error.", |
| 5 | "input": "data: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":null},\"finish_reason\":null}]}\n\ndata: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"name\":\"read_file\",\"arguments\":\"{\"},\"id\":\"call_s\",\"type\":\"function\"}]},\"finish_reason\":null}]}\n\ndata: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":1,\"delta\":{\"content\":\"x\"},\"finish_reason\":null}]}\n\ndata: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"tool_calls\"}]}\n\ndata: [DONE]\n\n", |
| 6 | "model": "mock-model", |
| 7 | "trace_id": "trace-dialect", |
| 8 | "turn": 0, |
| 9 | "parser_version": "1.0.0", |
| 10 | "reasoning_present": false, |
| 11 | "expected": { |
| 12 | "text": "", |
| 13 | "intents": [], |
| 14 | "rejected": [ |
| 15 | { |
| 16 | "index": 0, |
| 17 | "code": "malformed_tool_call", |
| 18 | "message": "multiple choices are not supported" |
| 19 | } |
| 20 | ], |
| 21 | "partial": false, |
| 22 | "dialect_version": "1" |
| 23 | }, |
| 24 | "expected_digests": { |
| 25 | "reasoning_digest": null, |
| 26 | "source_digests": [] |
| 27 | } |
| 28 | } |