style: fix cargo fmt formatting in session tools

This commit is contained in:
argenis de la rosa 2026-03-21 20:38:08 -04:00 committed by Roman Tataurov
parent 33db0eec38
commit cf738ff76a
No known key found for this signature in database
GPG Key ID: 70A51EF3185C334B
2 changed files with 2 additions and 8 deletions

View File

@ -566,10 +566,7 @@ pub fn all_tools_with_runtime(
backend.clone(),
security.clone(),
)));
tool_arcs.push(Arc::new(SessionsSendTool::new(
backend,
security.clone(),
)));
tool_arcs.push(Arc::new(SessionsSendTool::new(backend, security.clone())));
}
// LinkedIn integration (config-gated)

View File

@ -433,10 +433,7 @@ mod tests {
async fn history_rejects_empty_session_id() {
let (_tmp, backend) = test_backend();
let tool = SessionsHistoryTool::new(backend, test_security());
let result = tool
.execute(json!({"session_id": " "}))
.await
.unwrap();
let result = tool.execute(json!({"session_id": " "})).await.unwrap();
assert!(!result.success);
assert!(result.error.unwrap().contains("Invalid"));
}