Skip to content

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

fix(agent): handle empty context in breakdown logic

Steven Enamakela54e06c44302
diff --git a/crates/openhuman-core/src/agent/context_breakdown.rs b/crates/openhuman-core/src/agent/context_breakdown.rs
index 30f03de4df..5fec781b23 100644
--- a/crates/openhuman-core/src/agent/context_breakdown.rs
+++ b/crates/openhuman-core/src/agent/context_breakdown.rs
@@ -79,10 +79,7 @@ fn config_fingerprint(config: &Config) -> u64 {
// Unserializable config (should not happen) still needs a stable
// fingerprint so the cache degrades to "always recompute" rather
// than panicking.
- Err(err) => {
- eprintln!("DEBUG config_fingerprint serialize error: {err}");
- 0u8.hash(&mut hasher)
- }
+ Err(_) => 0u8.hash(&mut hasher),
}
hasher.finish()
}