Skip to content

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

test(in_process): add model name to builder test

Steven Enamakel3a9e3dd3a077
diff --git a/tests/in_process/agent_builder_public.rs b/tests/in_process/agent_builder_public.rs
index d7ac35ac18..7fbbf177a0 100644
--- a/tests/in_process/agent_builder_public.rs
+++ b/tests/in_process/agent_builder_public.rs
@@ -76,6 +76,7 @@ fn builder_validates_required_fields() {
let err = OpenHumanSessionHost::builder()
.chat_model(Arc::new(StubModel))
+ .model_name("stub-model".into())
.tools(vec![Box::new(StubTool("alpha"))])
.build()
.err()