Commit c853160
committed
feat(telemetry): capture tool execution errors in OpenTelemetry spans
Introduces ToolExecutionError and ToolErrorType (HTTP status codes) to standardize error reporting for tool failures. Updates trace_tool_call and function execution handlers to extract and record error.type semantics.1 parent d35e7f1 commit c853160
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1176 | 1176 | | |
1177 | 1177 | | |
1178 | 1178 | | |
1179 | | - | |
1180 | 1179 | | |
1181 | 1180 | | |
1182 | 1181 | | |
| |||
1255 | 1254 | | |
1256 | 1255 | | |
1257 | 1256 | | |
1258 | | - | |
1259 | | - | |
| 1257 | + | |
0 commit comments