Skip to content

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

Rust

style: rustfmt the workstream label match landed in #1630

AkitaOnRails9a53b3609a0c
diff --git a/crates/ai-memory-core/src/workstream.rs b/crates/ai-memory-core/src/workstream.rs
index 0e5c58ab..c2523d20 100644
--- a/crates/ai-memory-core/src/workstream.rs
+++ b/crates/ai-memory-core/src/workstream.rs
@@ -512,9 +512,7 @@ impl WorkstreamEvent {
WorkstreamEventKind::Checkpoint => {
self.role.as_deref().unwrap_or("repository checkpoint")
}
- WorkstreamEventKind::Compaction => {
- self.role.as_deref().unwrap_or("native compaction")
- }
+ WorkstreamEventKind::Compaction => self.role.as_deref().unwrap_or("native compaction"),
WorkstreamEventKind::Annotation => self.role.as_deref().unwrap_or("import note"),
WorkstreamEventKind::Message => self.role.as_deref().unwrap_or("message"),
}