refactor: remove unnecessary Arc<Mutex> from tool execution pipeline (#7979)

Signed-off-by: rabi <ramishra@redhat.com>
Co-authored-by: jh-block <jhugo@block.xyz>
This commit is contained in:
Rabi Mishra
2026-03-18 15:05:02 +05:30
committed by GitHub
parent 4e4c435339
commit 8d714a04c8
4 changed files with 53 additions and 73 deletions
+2 -1
View File
@@ -1012,7 +1012,8 @@ mod tests {
"Should inherit"
);
let tool_response = Message::user().with_tool_response_with_metadata(
let mut tool_response = Message::user();
tool_response.add_tool_response_with_metadata(
req1.id.clone(),
Ok(tool_result("output")),
req1.metadata.as_ref(),