Skip to content

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

test(tests): update model name and provider role assertions

Steven Enamakeldad34b6fe63e
diff --git a/crates/openhuman-core/src/agent/tinyagents/turn_exec_tests.rs b/crates/openhuman-core/src/agent/tinyagents/turn_exec_tests.rs
index fe669c76fa..6d6e0d9f5f 100644
--- a/crates/openhuman-core/src/agent/tinyagents/turn_exec_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/turn_exec_tests.rs
@@ -556,6 +556,7 @@ async fn session_screens_the_new_input_but_not_a_replayed_tool_results_row() {
// Splices rows into the head: the host writes through this store.
.with_session_history_locator(Arc::clone(&locator))
.chat_model(chat_model.clone())
+ .model_name("fixture/replay-screening".to_string())
.tools(Vec::new())
.workspace_dir(root.path().join("workspace"))
.action_dir(root.path().to_path_buf())
diff --git a/crates/openhuman-core/src/web_chat/web_tests_session_and_concurrency_tests.rs b/crates/openhuman-core/src/web_chat/web_tests_session_and_concurrency_tests.rs
index ff2963bfb6..f155a85fb4 100644
--- a/crates/openhuman-core/src/web_chat/web_tests_session_and_concurrency_tests.rs
+++ b/crates/openhuman-core/src/web_chat/web_tests_session_and_concurrency_tests.rs
@@ -27,26 +27,22 @@ fn provider_role_override_routes_hint_workloads() {
provider_role_for_model_override(Some("hint:agentic")),
"agentic"
);
- assert_eq!(
- provider_role_for_model_override(Some("agentic-v1")),
- "agentic"
- );
+ // Hosted vocabulary is supplied by the installed provider policy. With
+ // no hosted policy in bare core, an arbitrary model id stays concrete.
+ assert_eq!(provider_role_for_model_override(Some("agentic-v1")), "chat");
assert_eq!(
provider_role_for_model_override(Some("hint:coding")),
"coding"
);
assert_eq!(
provider_role_for_model_override(Some("summarization-v1")),
- "summarization"
+ "chat"
);
assert_eq!(
provider_role_for_model_override(Some("hint:reasoning")),
"reasoning"
);
- assert_eq!(
- provider_role_for_model_override(Some("reasoning-v1")),
- "reasoning"
- );
+ assert_eq!(provider_role_for_model_override(Some("reasoning-v1")), "chat");
assert_eq!(
provider_role_for_model_override(Some("gpt-4.1-mini")),
"chat"