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 prompt refresh test fixture

Steven Enamakelbbf594590f36
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/prompt_refresh_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/prompt_refresh_tests.rs
index 33ac9e614b..07760f4684 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session/prompt_refresh_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/prompt_refresh_tests.rs
@@ -27,6 +27,7 @@ fn host_with(
let chat_model: Arc<dyn tinyinference_llm::model::ChatModel<()>> = model.clone();
let mut host = crate::agent::SessionHostBuilder::new()
.with_session_history_locator(Arc::clone(locator))
+ .model_name("test/session-fixture".to_string())
.chat_model(chat_model)
.tools(Vec::new())
.prompt_builder(prompt)