Skip to content

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

test(agent): cover host definition parsing edge cases

Steven Enamakel73bab750c58c
diff --git a/crates/openhuman-core/src/agent/harness/host_definition_tests.rs b/crates/openhuman-core/src/agent/harness/host_definition_tests.rs
index 83bac633d2..5fdb2dc97e 100644
--- a/crates/openhuman-core/src/agent/harness/host_definition_tests.rs
+++ b/crates/openhuman-core/src/agent/harness/host_definition_tests.rs
@@ -2,6 +2,7 @@ use super::*;
use crate::core::runtime::{ContextOverlay, CoreContext, DomainSet};
use std::fs;
use std::io::Write;
+use tinyagents_definition::PromptSource;
fn named(id: &str, when: &str) -> AgentDefinition {
let mut definition = AgentDefinitionRegistry::builtins_only()