Commit 2eee711
committed
test: add realtime tool output serialization edge cases
Add focused realtime serialization coverage for _serialize_tool_output.
- serialize None as JSON null
- serialize lists as JSON arrays
- serialize dataclass instances via asdict
- fall back to string output for raw bytes1 parent 756fa43 commit 2eee711
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1505 | 1505 | | |
1506 | 1506 | | |
1507 | 1507 | | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
1508 | 1529 | | |
1509 | 1530 | | |
1510 | 1531 | | |
| |||
0 commit comments