Skip to content

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

test(tinyagents): assert model hint and absent pin separately

Steven Enamakelb3196c6c61ff
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/definition_registry_tests.rs b/crates/openhuman-core/src/agent/tinyagents/host/definition_registry_tests.rs
index b69e5d7563..22f3b225b3 100644
--- a/crates/openhuman-core/src/agent/tinyagents/host/definition_registry_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/host/definition_registry_tests.rs
@@ -485,7 +485,8 @@ async fn an_enabled_custom_config_agent_resolves_and_lists() {
.expect("resolve")
.expect("an enabled custom agent is in the catalogue");
assert_eq!(def.display_name(), "Finance Analyst");
- assert_eq!(def.model.pin().as_deref(), Some("hint:reasoning"));
+ assert_eq!(def.model.hint().as_deref(), Some("reasoning"));
+ assert_eq!(def.model.pin(), None);
assert_eq!(def.tools.named_tools(), vec!["memory_recall".to_string()]);
let listed = registry.list().await.expect("list");