Skip to content

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

refactor(agent): read plan exit name and description from harness constants

Steven Enamakel9afb4b98b43a
diff --git a/crates/openhuman-core/src/agent/tools/plan_exit.rs b/crates/openhuman-core/src/agent/tools/plan_exit.rs
index 38edccf38a..a060746e63 100644
--- a/crates/openhuman-core/src/agent/tools/plan_exit.rs
+++ b/crates/openhuman-core/src/agent/tools/plan_exit.rs
@@ -51,11 +51,11 @@ impl Default for PlanExitTool {
#[async_trait]
impl Tool for PlanExitTool {
fn name(&self) -> &str {
- owner_tool().name()
+ tinyagents_harness::tool::plan_exit::PlanExitTool::NAME
}
fn description(&self) -> &str {
- owner_tool().description()
+ tinyagents_harness::tool::plan_exit::PlanExitTool::DESCRIPTION
}
fn parameters_schema(&self) -> Value {