Skip to content

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

fix(progress_bridge): handle missing progress sender gracefully

Steven Enamakel947039c59bfa
diff --git a/crates/openhuman-core/src/web_chat/progress_bridge.rs b/crates/openhuman-core/src/web_chat/progress_bridge.rs
index 73d7a9445a..5cb32b0441 100644
--- a/crates/openhuman-core/src/web_chat/progress_bridge.rs
+++ b/crates/openhuman-core/src/web_chat/progress_bridge.rs
@@ -1070,7 +1070,8 @@ pub(crate) fn spawn_progress_bridge(
payload: json!({
"agentId": agent_id,
"question": question,
- "workerThreadId": worker_thread_id
+ "workerThreadId": worker_thread_id,
+ "parentCallId": parent_call_id
}),
},
);
@@ -1088,6 +1089,7 @@ pub(crate) fn spawn_progress_bridge(
round: Some(round),
subagent: Some(SubagentProgressDetail {
worker_thread_id,
+ parent_call_id,
..Default::default()
}),
..Default::default()