Commit 59c9174
committed
feat: add convenience properties (tool_name, call_id) to ToolCallItem and ToolCallOutputItem
ToolApprovalItem already exposes tool_name and call_id as properties,
but ToolCallItem and ToolCallOutputItem require users to reach into
raw_item internals. This adds the same convenience accessors to both
classes, following the existing ToolApprovalItem patterns.
Closes #28861 parent 86739b1 commit 59c9174
1 file changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
361 | 375 | | |
362 | 376 | | |
363 | 377 | | |
| |||
382 | 396 | | |
383 | 397 | | |
384 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
385 | 407 | | |
386 | 408 | | |
387 | 409 | | |
| |||
0 commit comments