style: applied uniform style across the new rag and mcp hook implementation

This commit is contained in:
Dark-Alex-17 committed 2026-09-17 14:39:33 -06:00
1 parent 74e7bc54eb
commit 08dfbac6f6
7 files changed
+13 -64

No files matched your search

+3 -6
View File
@@ -167,8 +167,7 @@ impl Rag {
sync_hooks.fire_failed(&rag.name, &rag.path, &err);
return Err(err);
}
// rag.sync.completed promises a saved knowledge base, so it fires
// only after a successful save; a save error is a sync failure.
match rag.save() {
Ok(true) => println!("✓ Saved RAG to '{}'.", save_path.display()),
Ok(false) => {}
@@ -332,8 +331,7 @@ impl Rag {
sync_hooks.fire_failed(&rag.name, &rag.path, &err);
return Err(err);
}
// rag.sync.completed promises a saved knowledge base, so it fires
// only after a successful save; a save error is a sync failure.
match rag.save() {
Ok(true) => println!("✓ Saved RAG to '{}'.", save_path.display()),
Ok(false) => {}
@@ -686,8 +684,7 @@ impl Rag {
sync_hooks.fire_failed(&self.name, &self.path, &err);
return Err(err);
}
// rag.sync.completed promises a saved knowledge base, so it fires
// only after a successful save; a save error is a sync failure.
match self.save() {
Ok(true) => println!("✓ Saved rag to '{}'.", self.path),
Ok(false) => {}