Track a tool call result in the current telemetry span.
(
&self,
tool_name: &str,
args: &serde_json::Value,
exit_code: i32,
)
| 3 | impl AgentLoop { |
| 4 | /// Track a tool call result in the current telemetry span. |
| 5 | pub(super) fn track_tool_result( |
| 6 | &self, |
| 7 | tool_name: &str, |
| 8 | args: &serde_json::Value, |
| 9 | exit_code: i32, |
| 10 | ) { |
| 11 | record_tool_result_metadata(tool_name, args, exit_code); |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | fn record_tool_result_metadata(tool_name: &str, args: &serde_json::Value, exit_code: i32) { |
no test coverage detected