Skip to content

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

test(attachments): use document modality in pdf fallback test

Steven Enamakel83a1ec6d4b6e
diff --git a/crates/openhuman-core/src/agent/attachments/provider_tests.rs b/crates/openhuman-core/src/agent/attachments/provider_tests.rs
index 9a2a0fac7a..81427b95e3 100644
--- a/crates/openhuman-core/src/agent/attachments/provider_tests.rs
+++ b/crates/openhuman-core/src/agent/attachments/provider_tests.rs
@@ -668,7 +668,7 @@ async fn pdf_attachment_degrades_to_a_note_when_documents_component_is_off() {
};
let (text, cacheable) = model
.fallback(
- InputModality::File,
+ InputModality::Document,
"uploads/t/id/brief.pdf",
"application/pdf",
b"%PDF-1.4",