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 / sglang-null-repeats.json
| 1 | { |
| 2 | "dialect": "openai_stream", |
| 3 | "name": "sglang-null-repeats", |
| 4 | "description": "SGLang-style later fragments repeat id null and name null; text before the call is kept.", |
| 5 | "input": "data: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":\"\\n\\n\"},\"finish_reason\":null}]}\n\ndata: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_g\",\"type\":\"function\",\"function\":{\"name\":\"read_file\",\"arguments\":\"\"}}]},\"finish_reason\":null}]}\n\ndata: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":null,\"type\":\"function\",\"function\":{\"name\":null,\"arguments\":\"{\\\"path\\\": \\\"/a\\\"}\"}}]},\"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": "\n\n", |
| 13 | "intents": [ |
| 14 | { |
| 15 | "kind": "tool_request", |
| 16 | "request_id": "call_g", |
| 17 | "tool": { |
| 18 | "name": "read_file", |
| 19 | "namespace": null |
| 20 | }, |
| 21 | "arguments": { |
| 22 | "path": "/a" |
| 23 | }, |
| 24 | "provenance": { |
| 25 | "dialect": "openai_stream", |
| 26 | "dialect_version": "1", |
| 27 | "model": "mock-model", |
| 28 | "parser_version": "1.0.0", |
| 29 | "source_turn": 0, |
| 30 | "source_call_id": "call_g", |
| 31 | "source_digest": null, |
| 32 | "raw_name": "read_file", |
| 33 | "coercion": "none" |
| 34 | } |
| 35 | } |
| 36 | ], |
| 37 | "rejected": [], |
| 38 | "partial": false, |
| 39 | "dialect_version": "1" |
| 40 | }, |
| 41 | "expected_digests": { |
| 42 | "reasoning_digest": null, |
| 43 | "source_digests": [ |
| 44 | "sha256:f039fe8a1314c12ca5e6ea704e84ae4937e4f7f20bf14b96d897cf7b25b6d841" |
| 45 | ] |
| 46 | } |
| 47 | } |