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 / fixtures / openai_stream / two-calls-interleaved.json

70 lines · 2821 bytes Raw Blame History
1{
2 "dialect": "openai_stream",
3 "name": "two-calls-interleaved",
4 "description": "Fragments of two calls interleave; calls come out in index order.",
5 "input": "data: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":1,\"function\":{\"name\":\"list_dir\",\"arguments\":\"{\\\"path\\\":\"},\"id\":\"call_b\",\"type\":\"function\"}]},\"finish_reason\":null}]}\n\ndata: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"name\":\"read_file\",\"arguments\":\"{\\\"path\\\":\"},\"id\":\"call_a\",\"type\":\"function\"}]},\"finish_reason\":null}]}\n\ndata: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":1,\"function\":{\"arguments\":\"\\\"/d\\\"}\"}}]},\"finish_reason\":null}]}\n\ndata: {\"object\":\"chat.completion.chunk\",\"choices\":[{\"index\":0,\"delta\":{\"tool_calls\":[{\"index\":0,\"function\":{\"arguments\":\"\\\"/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": "",
13 "intents": [
14 {
15 "kind": "tool_request",
16 "request_id": "call_a",
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_a",
31 "source_digest": null,
32 "raw_name": "read_file",
33 "coercion": "none"
34 }
35 },
36 {
37 "kind": "tool_request",
38 "request_id": "call_b",
39 "tool": {
40 "name": "list_dir",
41 "namespace": null
42 },
43 "arguments": {
44 "path": "/d"
45 },
46 "provenance": {
47 "dialect": "openai_stream",
48 "dialect_version": "1",
49 "model": "mock-model",
50 "parser_version": "1.0.0",
51 "source_turn": 0,
52 "source_call_id": "call_b",
53 "source_digest": null,
54 "raw_name": "list_dir",
55 "coercion": "none"
56 }
57 }
58 ],
59 "rejected": [],
60 "partial": false,
61 "dialect_version": "1"
62 },
63 "expected_digests": {
64 "reasoning_digest": null,
65 "source_digests": [
66 "sha256:d7a9dbd01921c66fb13d02b1b91208e2247a61c6784f59bb5086f8304dbf3675",
67 "sha256:ac62fffc0ee784cc3b787d643bdf1aacafc3c3b73ba1ab577bc9f31eef1cf31e"
68 ]
69 }
70}