Skip to content

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

style(documents): rustfmt attachment fallback

Steven Enamakel8c6985930c2d
diff --git a/crates/openhuman-core/src/agent/attachments/provider_fallback.rs b/crates/openhuman-core/src/agent/attachments/provider_fallback.rs
index 76ee348094..72b0f1a80e 100644
--- a/crates/openhuman-core/src/agent/attachments/provider_fallback.rs
+++ b/crates/openhuman-core/src/agent/attachments/provider_fallback.rs
@@ -76,7 +76,9 @@ impl AttachmentModel {
_ => None,
};
if format.is_some() && !self.config.components.documents {
- log::debug!("[attachments] document extraction skipped: component 'documents' disabled");
+ log::debug!(
+ "[attachments] document extraction skipped: component 'documents' disabled"
+ );
cacheable = false;
text.push_str(
"\nDocument extraction is disabled ([components] documents = false); original remains available.",