Skip to content

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

test(web_chat): install managed model fixture after config is built

Steven Enamakel58ff96b8aa23
diff --git a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
index ec76f00be4..cf9698f596 100644
--- a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
+++ b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs
@@ -23,7 +23,6 @@ use tinyagents_session::transcript::TranscriptMessage;
use tinytools_agent::dialect::TranscriptEntry;
pub(super) fn test_config(tmp: &tempfile::TempDir) -> Config {
- crate::agent::session_host::test_support::install_model_fixture();
let config = Config {
workspace_dir: tmp.path().join("workspace"),
action_dir: tmp.path().join("workspace"),
@@ -31,6 +30,7 @@ pub(super) fn test_config(tmp: &tempfile::TempDir) -> Config {
..Config::default()
};
std::fs::create_dir_all(&config.workspace_dir).unwrap();
+ crate::agent::session_host::test_support::install_managed_model_fixture(&config);
config
}