Skip to content

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

fix(cli): use literal method name for agent chat dispatch

Steven Enamakeld72c0beff0d9
diff --git a/crates/openhuman-core/src/core/cli.rs b/crates/openhuman-core/src/core/cli.rs
index 153dd86453..10ec6b4c5e 100644
--- a/crates/openhuman-core/src/core/cli.rs
+++ b/crates/openhuman-core/src/core/cli.rs
@@ -417,7 +417,7 @@ fn run_call_command(args: &[String]) -> Result<()> {
let value = rt
.block_on(async {
let dispatch = DispatchCtx::process_default();
- let dispatch = if method == crate::inference::schemas::INFERENCE_AGENT_CHAT {
+ let dispatch = if method == "inference.agent_chat" {
dispatch.with_headless_agent_chat()
} else {
dispatch