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(json_rpc_e2e): update test references from planner to presentation_agent
Steven Enamakeldfb32ba13ae6
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rsindex ac38b0e9ee..9479f73515 100644--- a/tests/json_rpc_e2e.rs+++ b/tests/json_rpc_e2e.rs@@ -1677,25 +1677,27 @@ async fn json_rpc_agent_registry_manages_defaults_and_custom_agents() {.get("definitions").and_then(Value::as_array).expect("agent_list_definitions should return definitions array");- let planner = definitions+ let presentation = definitions.iter()- .find(|definition| definition.get("id").and_then(Value::as_str) == Some("planner"))- .expect("safe agent library should include planner");+ .find(|definition| {+ definition.get("id").and_then(Value::as_str) == Some("presentation_agent")+ })+ .expect("safe agent library should include presentation_agent");assert_eq!(- planner.get("display_name").and_then(Value::as_str),- Some("Planner")+ presentation.get("display_name").and_then(Value::as_str),+ Some("Presentation Agent"));- assert!(planner+ assert!(presentation.get("when_to_use").and_then(Value::as_str).is_some());- assert!(planner.get("system_prompt").is_none());- assert!(planner.get("tools").is_some());- assert!(planner+ assert!(presentation.get("system_prompt").is_none());+ assert!(presentation.get("tools").is_some());+ assert!(presentation.get("direct_tool_count").and_then(Value::as_u64).is_some());- assert!(planner+ assert!(presentation.get("can_run_as_user_facing_worker").and_then(Value::as_bool).is_some());@@ -1717,13 +1719,13 @@ async fn json_rpc_agent_registry_manages_defaults_and_custom_agents() {286_211,"openhuman.agent_registry_update",json!({- "id": "planner",- "name": "Planning Specialist",- "description": "Workspace-specific planning specialist.",+ "id": "presentation_agent",+ "name": "Deck Specialist",+ "description": "Workspace-specific presentation specialist.","model": "hint:reasoning","tool_allowlist": ["tools.web_search", "memory.search"],"tool_denylist": ["wallet.execute_prepared"],- "tags": ["planning", "workspace"],+ "tags": ["presentation", "workspace"],"metadata": { "pinned_by": "json_rpc_e2e" }}),)@@ -1734,7 +1736,7 @@ async fn json_rpc_agent_registry_manages_defaults_and_custom_agents() {.expect("update default should return agent");assert_eq!(update_default_agent.get("name").and_then(Value::as_str),- Some("Planning Specialist")+ Some("Deck Specialist"));assert_eq!(update_default_agent@@ -1950,7 +1952,7 @@ async fn json_rpc_agent_registry_manages_defaults_and_custom_agents() {"system_prompt": "Write concise updates with citations when available.","tool_allowlist": ["memory.search"],"tool_denylist": ["shell"],- "subagents": ["planner"],+ "subagents": ["presentation_agent"],"tags": ["writing", "custom", "disabled"],"metadata": { "updated_by": "json_rpc_e2e" }}),@@ -1975,7 +1977,7 @@ async fn json_rpc_agent_registry_manages_defaults_and_custom_agents() {.and_then(Value::as_array).and_then(|allowlist| allowlist.first()).and_then(Value::as_str),- Some("planner")+ Some("presentation_agent"));let reenabled_custom = post_json_rpc(@@ -2134,7 +2136,7 @@ async fn json_rpc_agent_registry_manages_defaults_and_custom_agents() {&rpc_base,286_221,"openhuman.agent_registry_remove",- json!({ "id": "planner" }),+ json!({ "id": "presentation_agent" }),).await;assert_eq!(@@ -13077,8 +13079,8 @@ async fn json_rpc_agent_team_live_member_run_roundtrip_inner() {"leadAgentId": "lead","summary": "live run e2e","members": [- { "name": "alice", "agentId": "planner" },- { "name": "bob", "agentId": "planner" }+ { "name": "alice", "agentId": "presentation_agent" },+ { "name": "bob", "agentId": "presentation_agent" }]}),)