Skip to content

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

refactor(rpc): collapse saas runtime build call onto fewer lines

Steven Enamakel88607b20317b
diff --git a/crates/openhuman-rpc/src/server/shims.rs b/crates/openhuman-rpc/src/server/shims.rs
index aa2d1d3bea..230e5e5b89 100644
--- a/crates/openhuman-rpc/src/server/shims.rs
+++ b/crates/openhuman-rpc/src/server/shims.rs
@@ -53,12 +53,8 @@ pub async fn run_server_saas(
saas_config: &std::path::Path,
) -> anyhow::Result<()> {
let config = openhuman_core::core::runtime::SaasConfig::load(saas_config)?;
- let runtime = openhuman_core::core::runtime::saas::build(
- config,
- host.map(str::to_owned),
- port,
- )
- .await?;
+ let runtime =
+ openhuman_core::core::runtime::saas::build(config, host.map(str::to_owned), port).await?;
super::serve::serve(&runtime, None, None).await
}