@@ -59,7 +59,7 @@ impl ToolOrchestrator {
5959 } ) ;
6060 match requirement {
6161 ApprovalRequirement :: Skip { .. } => {
62- otel. tool_decision ( otel_tn, otel_ci, ReviewDecision :: Approved , otel_cfg) ;
62+ otel. tool_decision ( otel_tn, otel_ci, & ReviewDecision :: Approved , otel_cfg) ;
6363 }
6464 ApprovalRequirement :: Forbidden { reason } => {
6565 return Err ( ToolError :: Rejected ( reason) ) ;
@@ -88,7 +88,7 @@ impl ToolOrchestrator {
8888 } ;
8989 let decision = tool. start_approval_async ( req, approval_ctx) . await ;
9090
91- otel. tool_decision ( otel_tn, otel_ci, decision. clone ( ) , otel_user. clone ( ) ) ;
91+ otel. tool_decision ( otel_tn, otel_ci, & decision, otel_user. clone ( ) ) ;
9292
9393 match decision {
9494 ReviewDecision :: Denied | ReviewDecision :: Abort => {
@@ -171,7 +171,7 @@ impl ToolOrchestrator {
171171 } ;
172172
173173 let decision = tool. start_approval_async ( req, approval_ctx) . await ;
174- otel. tool_decision ( otel_tn, otel_ci, decision. clone ( ) , otel_user) ;
174+ otel. tool_decision ( otel_tn, otel_ci, & decision, otel_user) ;
175175
176176 match decision {
177177 ReviewDecision :: Denied | ReviewDecision :: Abort => {
0 commit comments