Skip to content

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

docs(web_chat): clarify attachment staging for non-voice media

Steven Enamakel3958e7e295f2
diff --git a/crates/openhuman-core/src/web_chat/schemas.rs b/crates/openhuman-core/src/web_chat/schemas.rs
index 76120f8014..093ea0dd49 100644
--- a/crates/openhuman-core/src/web_chat/schemas.rs
+++ b/crates/openhuman-core/src/web_chat/schemas.rs
@@ -76,7 +76,7 @@ pub fn schemas(function: &str) -> ControllerSchema {
FieldSchema {
name: "attachments",
ty: TypeSchema::Option(Box::new(TypeSchema::Json)),
- comment: "Typed attachments (tinychannels ContentPart[]). VoiceNote parts carry an opaque id for audio already stored by channel.web_voice_note_store; the core validates and binds it to the user row without adding audio markers to model text.",
+ comment: "Typed attachments (tinychannels ContentPart[]). VoiceNote parts carry an opaque id for audio already stored by channel.web_voice_note_store; the core validates and binds it to the user row without adding audio markers to model text. Other media parts use the regular attachment staging path.",
required: false,
},
optional_string("model_override", "Optional model override."),