Skip to content

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

refactor(core): make invoke public on controller entry

Steven Enamakeld6713c71093c
diff --git a/crates/openhuman-core/src/core/all.rs b/crates/openhuman-core/src/core/all.rs
index 136ff52091..ee6e466980 100644
--- a/crates/openhuman-core/src/core/all.rs
+++ b/crates/openhuman-core/src/core/all.rs
@@ -166,7 +166,7 @@ impl ControllerEntry {
}
}
- fn invoke(&self, ctx: DispatchCtx, params: Map<String, Value>) -> ControllerFuture {
+ pub fn invoke(&self, ctx: DispatchCtx, params: Map<String, Value>) -> ControllerFuture {
match &self.handler {
EntryHandler::Legacy(handler) => handler(ctx, params),
EntryHandler::Bound(handler) => handler.invoke(ctx, params),