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(agent_chat): reformat agent id decoding assertion
Steven Enamakelc221258836e2
diff --git a/crates/openhuman-core/src/agent_runs/agent_chat/controllers_tests.rs b/crates/openhuman-core/src/agent_runs/agent_chat/controllers_tests.rsindex 445c93b45b..8eb16d119d 100644--- a/crates/openhuman-core/src/agent_runs/agent_chat/controllers_tests.rs+++ b/crates/openhuman-core/src/agent_runs/agent_chat/controllers_tests.rs@@ -51,10 +51,9 @@ fn inference_agent_chat_agent_id_defaults_to_none() {let without: InferenceAgentChatParams =serde_json::from_value(serde_json::json!({ "message": "hello" })).expect("decodes");assert!(without.agent_id.is_none());- let with: InferenceAgentChatParams = serde_json::from_value(- serde_json::json!({ "message": "hello", "agent_id": "alpha" }),- )- .expect("decodes with agent id");+ let with: InferenceAgentChatParams =+ serde_json::from_value(serde_json::json!({ "message": "hello", "agent_id": "alpha" }))+ .expect("decodes with agent id");assert_eq!(with.agent_id.as_deref(), Some("alpha"));}