Skip to content

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

fix(runtime_session): reformat chained method call for readability

Steven Enamakel856765bc05a3
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session.rs b/crates/openhuman-core/src/agent/session_host/runtime_session.rs
index ba0fe61bbf..6334117e14 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs
@@ -982,9 +982,10 @@ impl OpenHumanSessionHost {
SessionTurnRequest::new(user_message_from_text(user_message)),
options,
);
- let outcome = crate::memory::scope::within_agent_in(config.as_deref(), &agent_id, Box::pin(turn))
- .await
- .map_err(|error| anyhow::anyhow!(error.to_string()))?;
+ let outcome =
+ crate::memory::scope::within_agent_in(config.as_deref(), &agent_id, Box::pin(turn))
+ .await
+ .map_err(|error| anyhow::anyhow!(error.to_string()))?;
Ok(outcome.output.unwrap_or_default())
}