Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

style(cli): rustfmt get_handoff call in redirect test

Vinícius DS Andradeae993ab473af
diff --git a/crates/ai-memory-cli/src/commands/hook_capture.rs b/crates/ai-memory-cli/src/commands/hook_capture.rs
index 56d21b86..828f2f7a 100644
--- a/crates/ai-memory-cli/src/commands/hook_capture.rs
+++ b/crates/ai-memory-cli/src/commands/hook_capture.rs
@@ -1354,8 +1354,7 @@ mod tests {
let target_url = format!("http://{}/login", target.local_addr().unwrap());
let source_url = redirect_server("302 Found", &target_url).await;
- let got =
- get_handoff(&build_client(), &source_url, None, Duration::from_secs(1)).await;
+ let got = get_handoff(&build_client(), &source_url, None, Duration::from_secs(1)).await;
assert!(got.is_none(), "redirect must not inject target content");
assert!(
tokio::time::timeout(Duration::from_millis(100), target.accept())