Skip to content

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

fix(progress): handle missing progress callback gracefully

Steven Enamakeld7f50c10bbf5
diff --git a/crates/openhuman-core/src/agent/progress.rs b/crates/openhuman-core/src/agent/progress.rs
index c77c421dda..054e363727 100644
--- a/crates/openhuman-core/src/agent/progress.rs
+++ b/crates/openhuman-core/src/agent/progress.rs
@@ -121,6 +121,13 @@ pub enum AgentProgress {
/// as the subagent span's input so a delegation is inspectable
/// end-to-end in Langfuse.
prompt: String,
+ /// The parent turn's tool-call id (the `spawn_subagent` /
+ /// dispatch call) this spawn is attributed to. `None` until
+ /// every emit site is updated to pass it through; additive so
+ /// existing consumers reading only the other fields are
+ /// unaffected. Mirrors
+ /// [`crate::core::socketio::SubagentProgressDetail::parent_call_id`].
+ parent_call_id: Option<String>,
},
/// A sub-agent completed successfully.