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
test: update tinyagents compatibility expectations
Steven Enamakel846ef4c7b3b5
diff --git a/crates/openhuman-core/src/agent/message_convert_tests.rs b/crates/openhuman-core/src/agent/message_convert_tests.rsindex c0248aebe4..3199d7ba63 100644--- a/crates/openhuman-core/src/agent/message_convert_tests.rs+++ b/crates/openhuman-core/src/agent/message_convert_tests.rs@@ -70,11 +70,9 @@ fn native_image_round_trip_preserves_literal_private_marker_text() {);let line: serde_json::Value = serde_json::from_slice(&stdin).unwrap();let content = line["message"]["content"].as_array().unwrap();- assert_eq!(- content[0]["text"],- "literal [OH_IMAGE:data:image/png;base64,QUJD]"- );- assert_eq!(content[1]["type"], "image");+ assert_eq!(content[0]["text"], "literal ");+ assert_eq!(content[1]["text"], "[OH_IMAGE:data:image/png;base64,QUJD]");+ assert_eq!(content[2]["type"], "image");}// An image-only turn must not emit an empty text block (some providers 400diff --git a/crates/openhuman-core/src/agent/tinyagents/host/definition_registry_tests.rs b/crates/openhuman-core/src/agent/tinyagents/host/definition_registry_tests.rsindex b7c396911d..d9d2afd8c4 100644--- a/crates/openhuman-core/src/agent/tinyagents/host/definition_registry_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/host/definition_registry_tests.rs@@ -228,20 +228,19 @@ fn denylist_supports_exact_and_prefix_forms() {assert!(!disallows_tool(&denied, "file_read"));}-/// A wildcard scope with nothing denied is the one case where the crate's-/// "empty means unrestricted" marker is the faithful projection.+/// A wildcard scope materializes the session's registered tool surface.#[test]-fn an_undenied_wildcard_scope_projects_the_unrestricted_marker() {+fn an_undenied_wildcard_scope_projects_registered_tools() {let mut def = synthetic("wide", AgentTier::Worker, &[]);def.tools = ToolScope::Wildcard;def.disallowed_tools = Vec::new();- assert!(+ assert_eq!(registry_of(vec![def.clone()])+ .with_registered_tools(Arc::new(vec!["file_read".to_string()])).project(&def)- .tools- .is_empty(),- "an undenied wildcard is genuinely unrestricted"+ .tools,+ vec!["file_read".to_string()]);}