The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(definition-registry): update model hint assertions to use new alias format
Steven Enamakelf7a92eb9ab1e
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.rsindex b7c396911d..96037f4de9 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@@ -203,10 +203,10 @@ fn model_spec_maps_inherit_to_no_preference() {Some("neocortex-mk1".to_string()));// Hints go through `ModelSpec::resolve`, which is the one place the- // `{hint}-v1` convention lives.+ // `hint:{hint}` alias spelling lives.assert_eq!(model_for(&ModelSpec::Hint("reasoning".into())),- Some("reasoning-v1".to_string())+ Some("hint:reasoning".to_string()));}@@ -368,7 +368,7 @@ async fn an_enabled_custom_config_agent_resolves_and_lists() {.expect("resolve").expect("an enabled custom agent is in the catalogue");assert_eq!(def.name, "Finance Analyst");- assert_eq!(def.model.as_deref(), Some("reasoning-v1"));+ assert_eq!(def.model.as_deref(), Some("hint:reasoning"));assert_eq!(def.tools, vec!["memory_recall".to_string()]);let listed = registry.list().await.expect("list");