Skip to content

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

docs(documents): clarify xlsx routing and temporary refusal

Steven Enamakel0256d95509ca
diff --git a/crates/openhuman-core/src/modules/documents/memory_converter.rs b/crates/openhuman-core/src/modules/documents/memory_converter.rs
index 4bcc4b5367..6306595e40 100644
--- a/crates/openhuman-core/src/modules/documents/memory_converter.rs
+++ b/crates/openhuman-core/src/modules/documents/memory_converter.rs
@@ -1,8 +1,10 @@
//! Memory document conversion through the TinyDocs module.
//!
//! Brain ingest and file-backed sources share this chain. Textual formats stay
-//! with TinyMemory's native converter; PDF, DOCX, PPTX and XLSX are extracted
-//! by the configured TinyDocs module, with no host-side parser fallback.
+//! with TinyMemory's native converter; PDF, DOCX and PPTX are extracted by the
+//! configured TinyDocs module, with no host-side parser fallback. XLSX remains
+//! routed here to prevent native fallback, but the host refuses spreadsheet
+//! imports until a safe TinyMemory release is available.
use crate::config::Config;
use tinymemory_integrations::documents::ConverterChain;
@@ -29,6 +31,8 @@ impl DocumentConverter for TinyDocsConverter {
}
fn supports(&self, format: DocumentFormat) -> bool {
+ // Keep XLSX on this route so the explicit temporary refusal cannot
+ // fall through to TinyMemory's native converter.
matches!(
format,
DocumentFormat::Pdf