Skip to content

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

refactor(orchestration): inline background delivery metadata json

Steven Enamakel20cd0d787596
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
index 96d6e87492..84991536b8 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
@@ -723,11 +723,7 @@ fn persist_delivery_reply(
id: crate::threads::store::run_reply_message_id(run_id),
content,
message_type: "text".to_string(),
- extra_metadata: json!({
- "scope": "background_delivery",
- "success": success,
- "requestId": run_id,
- }),
+ extra_metadata: json!({"scope": "background_delivery", "success": success, "requestId": run_id}),
sender: "agent".to_string(),
created_at: chrono::Utc::now().to_rfc3339(),
},