The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed crates/openhuman-core/src/tools/registry/schemas.rs
Steven Enamakele96c33cf5898
diff --git a/crates/openhuman-core/src/tools/registry/schemas.rs b/crates/openhuman-core/src/tools/registry/schemas.rsindex f77b1cfc75..5ed470a721 100644--- a/crates/openhuman-core/src/tools/registry/schemas.rs+++ b/crates/openhuman-core/src/tools/registry/schemas.rs@@ -154,11 +154,14 @@ fn parse_get(params: Map<String, Value>) -> Result<String, String> {}fn parse_get_reject_padded(params: Map<String, Value>) -> Result<String, String> {- let tool_id = required_tool_id(¶ms)?;- if tool_id.trim() != tool_id {+ if params+ .get("tool_id")+ .and_then(Value::as_str)+ .is_some_and(|tool_id| tool_id.trim() != tool_id)+ {return Err("padded IDs are rejected".to_string());}- Ok(tool_id.to_owned())+ parse_get(params)}fn parse_diagnostics(_params: Map<String, Value>) -> Result<(), String> {