Commits
Click on a commit to change the comparison rangefix(core): add tool_call_id to on_tool_error event data
Add tool_call_id parameter to on_tool_error callback events to enable
linking tool errors to specific tool calls in stateless agent implementations.
- Pass tool_call_id to on_tool_start and on_tool_error callbacks in BaseTool
- Store tool_call_id in event stream handler run info
- Include tool_call_id in on_tool_error event data
Fixes #335979 days ago
by Shreyanshsingh23 fix(core): refactor on_tool_error event to use structured event object
Refactor the on_tool_error callback to utilize a structured event object for improved clarity and maintainability. This change includes the addition of tool_call_id to the event data, enhancing the linkage of tool errors to specific tool calls.
- Updated the on_tool_error method to create a structured event object
- Included tool_call_id in the event data
This change builds on the previous addition of tool_call_id to enhance error tracking in stateless agent implementations.9 days ago
by Shreyanshsingh23 docs(core): add tool_call_id to EventData schema9 days ago
by Shreyanshsingh23