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 / assembled-arguments-not-json.json
| 1 | { |
| 2 | "dialect": "openai_stream", |
| 3 | "name": "assembled-arguments-not-json", |
| 4 | "description": "Complete stream whose assembled arguments are not JSON: the openai rule rejects it.", |
| 5 | "input": "data: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"name\":\"read_file\",\"arguments\":\"{\\\"path\\\": \"},\"id\":\"call_x\",\"type\":\"function\"}]},\"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": "arguments is not valid JSON" |
| 19 | } |
| 20 | ], |
| 21 | "partial": false, |
| 22 | "dialect_version": "1" |
| 23 | }, |
| 24 | "expected_digests": { |
| 25 | "reasoning_digest": null, |
| 26 | "source_digests": [] |
| 27 | } |
| 28 | } |