Skip to content

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

test(session-host): set model name in builder test fixtures

Steven Enamakel5c848c502e20
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_session_definition_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_session_definition_tests.rs
index edd3cd3d0c..6474fd4b85 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_session_definition_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_session_definition_tests.rs
@@ -36,6 +36,7 @@ fn bare() -> crate::agent::SessionHostBuilder {
Arc::new(tinyagents_harness::testkit::ScriptedModel::new(Vec::new()));
crate::agent::SessionHostBuilder::new()
.chat_model(model)
+ .model_name("test/session-fixture".to_string())
.tools(Vec::new())
.tool_dispatcher(Box::new(tinytools_agent::dialect::XmlDialect))
}
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
index d6b7454ff8..5f6eea5f44 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
@@ -122,6 +122,7 @@ fn build_with(
std::sync::Arc::new(tinyagents_harness::testkit::ScriptedModel::new(Vec::new()));
crate::agent::SessionHostBuilder::new()
.chat_model(model)
+ .model_name("test/session-fixture".to_string())
.tools(tools)
.visible_tool_names(visible)
.tool_dispatcher(Box::new(tinytools_agent::dialect::XmlDialect))