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(agent_runs): reuse tenant fixture in cache key assertions
Steven Enamakel493138e3fa57
diff --git a/crates/openhuman-core/src/agent_runs/context_breakdown_tests.rs b/crates/openhuman-core/src/agent_runs/context_breakdown_tests.rsindex 6c8ce23cac..4a55c9ae10 100644--- a/crates/openhuman-core/src/agent_runs/context_breakdown_tests.rs+++ b/crates/openhuman-core/src/agent_runs/context_breakdown_tests.rs@@ -114,23 +114,16 @@ fn report_cache_key_isolated_by_tenant_even_for_identical_config() {);assert_ne!(report_cache_key(alice.clone(), "orchestrator", &config),- report_cache_key(alice, "orchestrator", &other_workspace),+ report_cache_key(alice.clone(), "orchestrator", &other_workspace),);let mut other_config_path = config.clone();other_config_path.config_path = std::path::PathBuf::from("/tmp/other-config.toml");assert_ne!(- report_cache_key(tenant_for_test("alice"), "orchestrator", &config),- report_cache_key(tenant_for_test("alice"), "orchestrator", &other_config_path),+ report_cache_key(alice.clone(), "orchestrator", &config),+ report_cache_key(alice, "orchestrator", &other_config_path),);}-fn tenant_for_test(profile: &str) -> crate::core::runtime::Tenant {- crate::core::runtime::Tenant {- profile: Some(profile.into()),- agent: None,- }-}-#[tokio::test]async fn history_section_is_none_for_an_unknown_thread() {// No transcripts exist for this id, so `token_usage` should reportdiff --git a/vendor/tinyagents b/vendor/tinyagentsindex 3b4d2a9119..309fd10ffa 160000--- a/vendor/tinyagents+++ b/vendor/tinyagents@@ -1 +1 @@-Subproject commit 3b4d2a9119f52d8ff7f545c05502b1bac13b4a45+Subproject commit 309fd10ffa4459fea617276b4f542674dc4d0b3e