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
fix(host_tests): correct test assertion for tool call response
Steven Enamakel8435a6e2372b
diff --git a/src/openhuman/mcp/host_tests.rs b/src/openhuman/mcp/host_tests.rsindex 6701117b68..91b5a1dfcf 100644--- a/src/openhuman/mcp/host_tests.rs+++ b/src/openhuman/mcp/host_tests.rs@@ -139,8 +139,12 @@ fn a_multi_header_credential_keeps_every_header() {match &client_config(&config).servers[0].auth {tinymcp::McpAuthConfig::Headers { headers } => {assert_eq!(headers.len(), 2);- assert!(headers.iter().any(|header| header.name == "X-Client-Key"));- assert!(headers.iter().any(|header| header.name == "Authorization"));+ assert!(headers.iter().any(|header| {+ header.name == "X-Client-Key" && header.value == "k"+ }));+ assert!(headers.iter().any(|header| {+ header.name == "Authorization" && header.value == "Bearer s"+ }));}other => panic!("expected several headers, got {other:?}"),}