Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(test): replace base64 assertion with raw byte check in cloud transcribe test

Steven Enamakel78255b24cc42
diff --git a/crates/openhuman-core/src/voice/cloud_transcribe_tests.rs b/crates/openhuman-core/src/voice/cloud_transcribe_tests.rs
index ab7bb9a85f..1d2abb8311 100644
--- a/crates/openhuman-core/src/voice/cloud_transcribe_tests.rs
+++ b/crates/openhuman-core/src/voice/cloud_transcribe_tests.rs
@@ -129,6 +129,6 @@ async fn api_key_transcribes_via_safe_backend_with_bearer_and_multipart_audio()
.starts_with("multipart/form-data; boundary="));
let body = String::from_utf8(body).unwrap();
assert!(body.contains("name=\"file\""));
- assert!(body.contains("AQID"));
+ assert!(body.as_bytes().windows(3).any(|bytes| bytes == [1, 2, 3]));
assert!(body.contains("name=\"model\""));
}