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 live tools test

Steven Enamakel580209da6db1
diff --git a/crates/openhuman-core/src/agent/session_host/live_tools_tests.rs b/crates/openhuman-core/src/agent/session_host/live_tools_tests.rs
index 05f52f691a..660db69de4 100644
--- a/crates/openhuman-core/src/agent/session_host/live_tools_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/live_tools_tests.rs
@@ -8,6 +8,7 @@ fn exposes_durable_visible_tools_and_policy() {
]));
let chat_model: Arc<dyn tinyinference_llm::model::ChatModel<()>> = model;
let mut host = crate::agent::SessionHostBuilder::new()
+ .model_name("test-model".to_string())
.chat_model(chat_model)
.tools(Vec::new())
.workspace_dir(root.path().join("workspace"))