Skip to content

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

fix(agent): handle missing multimodal config gracefully

Steven Enamakelb9e1adb9895c
diff --git a/crates/openhuman-core/src/agent/multimodal.rs b/crates/openhuman-core/src/agent/multimodal.rs
index 5464b266eb..5b6d0eeaba 100644
--- a/crates/openhuman-core/src/agent/multimodal.rs
+++ b/crates/openhuman-core/src/agent/multimodal.rs
@@ -485,7 +485,7 @@ pub async fn stash_image_attachments(message: &str, image_config: &MultimodalCon
match resolve_image(reference, &images, max_image_bytes, &client).await {
Ok(data_uri) => {
let id = sha256_prefix(data_uri.as_bytes());
- match write_attachment(&id, &data_uri).await {
+ match stash().write(&id, &data_uri).await {
Ok(path) => tracing::debug!(
target: "multimodal",
id = %id,