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\n\nCI Rust Core Coverage failed: `graph_topologies must return a \`graphs\` object`.\nThe assertion's intent was right — reject a null or scalar rather than accepting\n`is_some()` — but it used the wrong type. `handle_graph_topologies` builds\n`graphs` as a `Vec<Value>` and returns `json!({ "graphs": graphs, "agents":\nagents })` (src/openhuman/agent/schemas.rs:486), so `as_array` is correct.\n\nVerified by reading the handler, not executed — local test runs are disabled.\n
M3gA-Mind89a50e1b084a
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"] {