Skip to content

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

chore: files changed src/openhuman/agent/orchestration/tools/agent_prepare_context_tests.rs

Steven Enamakel5ad56d4d8b09
diff --git a/src/openhuman/agent/orchestration/tools/agent_prepare_context_tests.rs b/src/openhuman/agent/orchestration/tools/agent_prepare_context_tests.rs
index 4dfcf2cae8..90b3613916 100644
--- a/src/openhuman/agent/orchestration/tools/agent_prepare_context_tests.rs
+++ b/src/openhuman/agent/orchestration/tools/agent_prepare_context_tests.rs
@@ -325,8 +325,11 @@ fn credits_exhausted_scout_failure_does_not_reach_sentry() {
// ─────────────────────────────────────────────────────────────────────────────
/// A spec with the given name and description; the schema is irrelevant here.
-fn catalog_spec(name: &str, description: &str) -> crate::openhuman::tools::ToolSpec {
- crate::openhuman::tools::ToolSpec {
+fn catalog_spec(
+ name: &str,
+ description: &str,
+) -> std::sync::Arc<crate::openhuman::tools::ToolSpec> {
+ std::sync::Arc::new(crate::openhuman::tools::ToolSpec {
name: name.to_string(),
description: description.to_string(),
parameters: serde_json::json!({"type": "object"}),