Skip to content

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

fix(ops): handle empty input in command parsing

Steven Enamakel073fcbce084b
diff --git a/crates/openhuman-core/src/commands/ops.rs b/crates/openhuman-core/src/commands/ops.rs
index cd417f8dad..74c70b8203 100644
--- a/crates/openhuman-core/src/commands/ops.rs
+++ b/crates/openhuman-core/src/commands/ops.rs
@@ -9,7 +9,7 @@ use serde_json::{Map, Value};
use crate::core::all::RegisteredController;
use crate::rpc::{unwrap_rpc, RpcOutcome};
-use super::types::{CommandEntry, CommandKind};
+use super::types::{CommandEntry, CommandKind, CommandsListResponse};
/// Fixed slash commands the core itself understands. `(command, description)`;
/// the leading `/` is part of the wire `label`/`insert` text, not the `id`.