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(test): graph_topologies returns a `graphs` ARRAY, not an object
M3gA-Mind970f54106be8
diff --git a/tests/agent_approval_memory_coverage_e2e.rs b/tests/agent_approval_memory_coverage_e2e.rsindex 7e8581a860..a4dcc25f33 100644--- a/tests/agent_approval_memory_coverage_e2e.rs+++ b/tests/agent_approval_memory_coverage_e2e.rs@@ -706,10 +706,13 @@ async fn agent_graph_topologies_exports_structure_without_run_state() {let body = payload(&response, "agent_graph_topologies");// `is_some()` would accept `null` or a scalar, so a schema regression that- // dropped the object could still pass. Require the object itself.+ // dropped the field could still pass. Require the array itself — the handler+ // builds `graphs` as a `Vec<Value>` and returns+ // `json!({ "graphs": graphs, "agents": agents })`+ // (`src/openhuman/agent/schemas.rs:486`), so it is an array, not an object.body.get("graphs")- .and_then(Value::as_object)- .unwrap_or_else(|| panic!("graph_topologies must return a `graphs` object: {body}"));+ .and_then(Value::as_array)+ .unwrap_or_else(|| panic!("graph_topologies must return a `graphs` array: {body}"));let serialized = body.to_string();for leaked in ["system_prompt", "prompt_text", "api_key", "tool_arguments"] {