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/memory/engine.rs

Steven Enamakelbd8e3874db92
diff --git a/crates/openhuman-core/src/memory/engine.rs b/crates/openhuman-core/src/memory/engine.rs
index 3b390ba61d..f949e649a5 100644
--- a/crates/openhuman-core/src/memory/engine.rs
+++ b/crates/openhuman-core/src/memory/engine.rs
@@ -229,7 +229,7 @@ pub fn resolve(config: &Config) -> Binding {
/// bound below a scope root.
pub fn bind_with_root(config: &Config, root: Option<&str>) -> Result<BoundEngine> {
if !config.components.memory {
- return Err(Error::Off(COMPONENT_OFF_REASON.to_string()));
+ return Err(MemoryError::Off(COMPONENT_OFF_REASON.to_string()));
}
#[cfg(test)]
{
@@ -530,7 +530,6 @@ fn build_cached(
fingerprint: String,
credential: EngineCredential,
) -> Binding {
- let endpoint = settings.endpoint.clone().unwrap_or_default();
let binding = ENGINE_BINDER.bind_configured(
id,
settings,
@@ -544,7 +543,6 @@ fn build_cached(
tracing::warn!(engine = %id, error = %reason, "[memory:engine] engine build refused");
}
}
- let _ = endpoint;
binding
}