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 Enamakel1bc5709019b8
diff --git a/crates/openhuman-core/src/tools/registry/schemas.rs b/crates/openhuman-core/src/tools/registry/schemas.rsindex e2f75d8867..f77b1cfc75 100644--- a/crates/openhuman-core/src/tools/registry/schemas.rs+++ b/crates/openhuman-core/src/tools/registry/schemas.rs@@ -40,7 +40,7 @@ pub(crate) fn all_bound_controller_entries() -> Vec<ControllerEntry> {)),ControllerEntry::bound(BoundRegisteredController::typed(schemas("get"),- parse_get,+ parse_get_reject_padded,run_get,)),ControllerEntry::bound(BoundRegisteredController::typed(@@ -153,6 +153,14 @@ fn parse_get(params: Map<String, Value>) -> Result<String, String> {required_tool_id(¶ms).map(str::to_owned)}+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 {+ return Err("padded IDs are rejected".to_string());+ }+ Ok(tool_id.to_owned())+}+fn parse_diagnostics(_params: Map<String, Value>) -> Result<(), String> {Ok(())}