Skip to content

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

feat(progress_bridge): capture and cap output in agent run completion

Steven Enamakele901decac6d2
diff --git a/crates/openhuman-core/src/web_chat/progress_bridge.rs b/crates/openhuman-core/src/web_chat/progress_bridge.rs
index 0818596480..8180ee4c13 100644
--- a/crates/openhuman-core/src/web_chat/progress_bridge.rs
+++ b/crates/openhuman-core/src/web_chat/progress_bridge.rs
@@ -843,12 +843,15 @@ pub(crate) fn spawn_progress_bridge(
elapsed_ms,
iterations,
output_chars,
+ output,
usage,
worktree_path,
changed_files,
dirty_status,
..
} => {
+ let parent_call_id = subagent_parent_call_ids.remove(&task_id).flatten();
+ let capped_output = cap_wire_output(output);
let completed_at = chrono::Utc::now();
ledger_upsert_agent_run(
&config,