Skip to content

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

Rust

fix(cli): drop needless return in the Windows main path

lhzapata92b70ac30d31
diff --git a/crates/ai-memory-cli/src/main.rs b/crates/ai-memory-cli/src/main.rs
index 560eaa00..0167f2f9 100644
--- a/crates/ai-memory-cli/src/main.rs
+++ b/crates/ai-memory-cli/src/main.rs
@@ -17,12 +17,12 @@ fn main() -> Result<()> {
// branch and can outgrow that default as the command tree expands.
// Keep the platform default for worker threads, but give the one
// thread that owns the top-level future enough room to dispatch it.
- return std::thread::Builder::new()
+ std::thread::Builder::new()
.name("ai-memory-main".to_owned())
.stack_size(8 * 1024 * 1024)
.spawn(run)?
.join()
- .unwrap_or_else(|panic| std::panic::resume_unwind(panic));
+ .unwrap_or_else(|panic| std::panic::resume_unwind(panic))
}
#[cfg(not(windows))]