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): correct delegation tool description assertion in e2e test
Steven Enamakeldfad6c257bb6
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..fb461c5a36 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,13 @@ async fn orchestrator_tool_synthesis_covers_agent_and_integration_delegation_edgassert_eq!(names, vec!["research", "delegate_to_integrations_agent"]);let research = &tools[0];+ // The delegation tool's description is the target agent's `when_to_use`+ // verbatim (the "Use only when direct response/direct tools are+ // insufficient." prefix was deliberately dropped — it is stated once in+ // the orchestrator prompt instead of once per delegate schema per turn).assert!(research.description()- .contains("direct tools are insufficient"));- assert!(research- .description()- .contains("careful public-source research"));+ .contains("Use for careful public-source research."));assert_eq!(research.permission_level(), PermissionLevel::Execute);assert_eq!(research.category(), ToolCategory::System);assert_eq!(