Skip to content

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

refactor(runtime): extract builder helpers into free functions

Steven Enamakel548b47e108a3
diff --git a/crates/openhuman-core/src/core/runtime/builder.rs b/crates/openhuman-core/src/core/runtime/builder.rs
index e6863f7e71..cebc1ac1f3 100644
--- a/crates/openhuman-core/src/core/runtime/builder.rs
+++ b/crates/openhuman-core/src/core/runtime/builder.rs
@@ -699,14 +699,6 @@ impl CoreRuntime {
pub fn context(&self) -> &Arc<CoreContext> {
&self.ctx
}
-
- /// The config this runtime booted with: the caller-supplied one, or the
- /// one `build()` discovered from `config.toml` and the environment.
- /// `None` when discovery failed (workspace-bound stores were skipped).
- pub fn config(&self) -> Option<&Config> {
- self.config.as_ref()
- }
-
/// Dispatch an RPC method in-process — the same path the HTTP `/rpc` handler
/// and the CLI use ([`crate::core::invoke::invoke_method`]). No network involved.
pub async fn invoke(