interplane.Get Omega
Read in your language

interplane-mv

INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.

Brought by drakestapleton

branch main Branches Tags History

interplane-mv / dialects / replay / malformed-json-chunk.json

51 lines · 1248 bytes Raw Blame History
1{
2 "format": "interplane-replay/1",
3 "name": "malformed-json-chunk",
4 "provider": "synthetic-openai-compatible",
5 "model": "mock-model",
6 "endpoint_kind": "chat_completions_stream",
7 "provenance": {
8 "origin": "synthetic",
9 "source_commit": "f1cc43cd",
10 "captured_on": "2026-10-10",
11 "note": "A data event that is not valid JSON fails the whole stream closed."
12 },
13 "request": {
14 "method": "POST",
15 "path": "/v1/chat/completions",
16 "header_names": [
17 "Content-Type",
18 "Authorization",
19 "Accept"
20 ],
21 "body": {
22 "model": "mock-model",
23 "stream": true,
24 "messages": [
25 {
26 "role": "user",
27 "content": "<USER_CONTENT>"
28 }
29 ]
30 }
31 },
32 "response": {
33 "status": 200,
34 "header_names": [
35 "Content-Type",
36 "Retry-After"
37 ],
38 "chunks": [
39 "data: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"role\":\"assistant\",\"content\":null},\"finish_reason\":null}]}\n\ndata: {\"choices\":[{\"index\":0,\"delta\":{\"content\":\"hi\"\n\n"
40 ]
41 },
42 "expect": {
43 "class": "parsed",
44 "text": "",
45 "tool_calls": [],
46 "rejected": [
47 "malformed_tool_call"
48 ],
49 "partial": false
50 }
51}