Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed crates/openhuman-core/src/storage/state_kv.rs

Steven Enamakelbc17b3badc20
diff --git a/crates/openhuman-core/src/storage/state_kv.rs b/crates/openhuman-core/src/storage/state_kv.rs
index 80edf00c12..eb9554a5a0 100644
--- a/crates/openhuman-core/src/storage/state_kv.rs
+++ b/crates/openhuman-core/src/storage/state_kv.rs
@@ -294,7 +294,10 @@ impl StateKv {
let backup = legacy.with_extension("json.corrupt");
if backup.exists() {
- anyhow::bail!("the corrupt legacy backup {} already exists", backup.display());
+ anyhow::bail!(
+ "the corrupt legacy backup {} already exists",
+ backup.display()
+ );
}
std::fs::rename(legacy, &backup)
.with_context(|| format!("quarantine corrupt legacy state {}", legacy.display()))