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(dictation): format origin header in test for readability
Steven Enamakel0dfb1c67a77b
diff --git a/crates/openhuman-rpc/src/server/http/dictation_tests.rs b/crates/openhuman-rpc/src/server/http/dictation_tests.rsindex 123c3564ce..79e6c19bb5 100644--- a/crates/openhuman-rpc/src/server/http/dictation_tests.rs+++ b/crates/openhuman-rpc/src/server/http/dictation_tests.rs@@ -24,7 +24,10 @@ fn query(token: Option<&str>) -> DictationQuery {#[test]fn dictation_rejects_disallowed_origin_before_authentication() {let mut headers = HeaderMap::new();- headers.insert(header::ORIGIN, HeaderValue::from_static("https://attacker.example"));+ headers.insert(+ header::ORIGIN,+ HeaderValue::from_static("https://attacker.example"),+ );let response = authorize_dictation_request(&headers, &query(Some(&test_token()))).expect_err("cross-origin request rejected");