Skip to content

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

fix(session_host): annotate close result closure parameter type

Steven Enamakel90c525700b3f
diff --git a/crates/openhuman-core/src/agent/session_host/product_copy.rs b/crates/openhuman-core/src/agent/session_host/product_copy.rs
index b10b11984d..2fad2ba54e 100644
--- a/crates/openhuman-core/src/agent/session_host/product_copy.rs
+++ b/crates/openhuman-core/src/agent/session_host/product_copy.rs
@@ -40,7 +40,7 @@ pub(crate) fn render_close_results(
per_result_cap: 800,
truncation_marker: "… [truncated]",
total_budget,
- render_block: |result| {
+ render_block: |result: &tinyagents_harness::close::CloseToolResult| {
let status = if result.success { "ok" } else { "failed" };
let mut block = format!("\n- `{}` — {}\n", result.name, status);
for line in result.content.lines() {