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(tests): update assertion for delegate tool description change
Steven Enamakel18544044dc81
diff --git a/tests/raw_coverage/tools_approval_channels_raw_coverage_e2e.rs b/tests/raw_coverage/tools_approval_channels_raw_coverage_e2e.rsindex e3e0d1772b..7620a32321 100644--- a/tests/raw_coverage/tools_approval_channels_raw_coverage_e2e.rs+++ b/tests/raw_coverage/tools_approval_channels_raw_coverage_e2e.rs@@ -1620,12 +1620,15 @@ async fn orchestrator_tool_synthesis_covers_agent_and_integration_delegation_edgassert_eq!(names, vec!["research", "delegate_to_integrations_agent"]);let research = &tools[0];- assert!(research- .description()- .contains("direct tools are insufficient"));+ // #1335 dropped the repeated "Use only when direct response/direct tools+ // are insufficient. " prefix from every delegate schema (13 tokens each);+ // the description is now the target's `when_to_use` verbatim.assert!(research.description().contains("careful public-source research"));+ assert!(!research+ .description()+ .contains("direct tools are insufficient"));assert_eq!(research.permission_level(), PermissionLevel::Execute);assert_eq!(research.category(), ToolCategory::System);assert_eq!(