Skip to content

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

fix(progress): restore journal projection for completed steps

Steven Enamakelef042db58ea8
diff --git a/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs b/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs
index 18bdb94bae..55bc03a7f9 100644
--- a/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs
+++ b/crates/openhuman-core/src/agent/progress_tracing/journal_projection.rs
@@ -306,6 +306,12 @@ fn observation_to_progress(obs: &AgentObservation, state: &mut ReplayState) -> V
elapsed_ms: duration_ms.unwrap_or(0),
iteration: scope.iteration,
failure,
+ // The journal has no live tool registry to recompute a
+ // real label/detail from, and no `ToolResult.metadata` to
+ // replay structured payloads from.
+ display_label: None,
+ display_detail: None,
+ structured: None,
}],
None => vec![AgentProgress::ToolCallCompleted {
call_id: call_id.as_str().to_string(),
@@ -317,6 +323,9 @@ fn observation_to_progress(obs: &AgentObservation, state: &mut ReplayState) -> V
elapsed_ms: duration_ms.unwrap_or(0),
iteration: state.iteration,
failure,
+ display_label: None,
+ display_detail: None,
+ structured: None,
}],
}
}