Skip to content

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

fix(orchestration): pass context to system turn delivery

Steven Enamakelfe5337fb6c99
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
index 84991536b8..67a9ab06d4 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
@@ -665,7 +665,7 @@ async fn run_system_turn_on_thread(
},
|result| match result {
Ok(response) => crate::web_chat::presentation::deliver_response_single_bubble(
- "system", &thread_id, &run_id, response, None,
+ ctx, "system", &thread_id, &run_id, response, None,
),
Err(error) => {
crate::web_chat::publish_web_channel_event(crate::web_chat::WebChannelEvent {