Skip to content

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

refactor(agent): reformat close_repair_instruction call

Steven Enamakeld7e3bec5857b
diff --git a/crates/openhuman-core/src/agent/session_host/driver/grounded_close.rs b/crates/openhuman-core/src/agent/session_host/driver/grounded_close.rs
index 575325625d..04a52036e5 100644
--- a/crates/openhuman-core/src/agent/session_host/driver/grounded_close.rs
+++ b/crates/openhuman-core/src/agent/session_host/driver/grounded_close.rs
@@ -319,7 +319,10 @@ pub(super) async fn close_if_needed(
crate::agent::session_host::turn_checkpoint::CloseViolation::Unverified
}
};
- crate::agent::session_host::turn_checkpoint::close_repair_instruction(&instruction, violation)
+ crate::agent::session_host::turn_checkpoint::close_repair_instruction(
+ &instruction,
+ violation,
+ )
};
let output = tinyagents_harness::close::grounded_close_with_options(
&model_client,