Skip to content

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

test(session_host): add model name to session host builder test

Steven Enamakelb3ed41413f1e
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rs
index 4795f071bb..7c9a191b55 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rs
@@ -162,6 +162,7 @@ fn spec_views_stay_consistent_for_a_tool_less_agent() {
std::sync::Arc::new(tinyagents_harness::testkit::ScriptedModel::new(Vec::new()));
let agent = 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))
.build()