Commit 102f4a1
committed
docs: add FixSpec wrapper for CreateMessageResult schema divergence
Document the intentional divergence between SDK's CreateMessageResult
(single content for v1.x backwards compat) and the spec's version
(array content per SEP-1577).
The full array-capable type is available as CreateMessageResultWithTools.
This will be aligned with schema in v2.0.1 parent 5eb6d54 commit 102f4a1
File tree
2 files changed
+20
-2
lines changed- src
- examples/server
2 files changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
83 | 98 | | |
84 | 99 | | |
85 | 100 | | |
| |||
369 | 384 | | |
370 | 385 | | |
371 | 386 | | |
372 | | - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
373 | 391 | | |
374 | 392 | | |
375 | 393 | | |
| |||
0 commit comments