Skip to content

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

refactor(agent): move delegate tests and prompts out of agent module

Steven Enamakeled2c26e0dcb4
diff --git a/crates/openhuman-core/src/agent/registration.rs b/crates/openhuman-core/src/agent/registration.rs
index 318a5fbf7a..952d85a2e7 100644
--- a/crates/openhuman-core/src/agent/registration.rs
+++ b/crates/openhuman-core/src/agent/registration.rs
@@ -8,7 +8,6 @@ use super::orchestration::tools::{
#[cfg(feature = "skills")]
use crate::skills::run_workflow::{AwaitWorkflowTool, RunWorkflowTool};
use super::tools::{PlanExitTool, TodoTool};
-use crate::tools::delegate::DelegateTool;
use crate::config::Config;
use std::path::Path;
use tinyagents_harness::tools as harness_tools;
diff --git a/crates/openhuman-core/src/agent/session_host/types.rs b/crates/openhuman-core/src/agent/session_host/types.rs
index 329793627a..fc12c0300c 100644
--- a/crates/openhuman-core/src/agent/session_host/types.rs
+++ b/crates/openhuman-core/src/agent/session_host/types.rs
@@ -72,7 +72,7 @@ impl TurnInputs {
/// What leads this turn's user message: the date line in the user's time
/// zone, then the reply-language instruction.
pub(crate) fn preamble(&self) -> String {
- crate::agent::prompts::turn_preamble(
+ crate::prompts::turn_preamble(
self.reply_language_directive.as_deref(),
self.time_zone.as_deref(),
)
diff --git a/crates/openhuman-core/src/agent/tools/delegate_tests.rs b/crates/openhuman-core/src/tools/delegate_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/agent/tools/delegate_tests.rs
rename to crates/openhuman-core/src/tools/delegate_tests.rs
diff --git a/vendor/tinyagents b/vendor/tinyagents
index 7fc8c0040f..c96968120a 160000
--- a/vendor/tinyagents
+++ b/vendor/tinyagents
@@ -1 +1 @@
-Subproject commit 7fc8c0040f9575b6bb14757cb87c1e4302407abb
+Subproject commit c96968120a36b8d1f0aa38d09f822352049dbdd6