Skip to content

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

feat(transcript_view): preserve timestamps when projecting tool calls

Steven Enamakelf96b5726a5ed
diff --git a/crates/openhuman-core/src/threads/transcript_view/project.rs b/crates/openhuman-core/src/threads/transcript_view/project.rs
index 99d9b9442f..0af53ab9e6 100644
--- a/crates/openhuman-core/src/threads/transcript_view/project.rs
+++ b/crates/openhuman-core/src/threads/transcript_view/project.rs
@@ -350,6 +350,7 @@ impl Projector {
result: None,
status: ToolCallStatus::Running,
failure: None,
+ ts: msg.ts.clone(),
});
self.pending.push_back((call_id, self.items.len() - 1));
}
@@ -403,6 +404,7 @@ impl Projector {
result: Some(result),
status,
failure,
+ ts: msg.ts.clone(),
});
}
}
@@ -528,6 +530,7 @@ fn project_text_tool_results(
result: Some(result.content),
status,
failure,
+ ts: msg.ts.clone(),
});
}
}