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 / cancelled-stream-truncated-mid-chunk.json

51 lines · 1614 bytes Raw Blame History
1{
2 "format": "interplane-replay/1",
3 "name": "cancelled-stream-truncated-mid-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": "Client cancelled; the last chunk ends inside a JSON string. The half call must be rejected, never guessed."
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: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"id\":\"call_a\",\"type\":\"function\",\"function\":{\"name\":\"read_file\",\"arguments\":\"{\\\"pa\"}}]},\"finish_reason\":null}]}\n\ndata: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"argum"
40 ]
41 },
42 "expect": {
43 "class": "parsed",
44 "text": "",
45 "tool_calls": [],
46 "rejected": [
47 "malformed_tool_call"
48 ],
49 "partial": true
50 }
51}