Skip to content

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

fix(toolpacks): correct test assertion for toolpack validation

Steven Enamakel99725361a5b4
diff --git a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs
index f327c8248c..a3ac373312 100644
--- a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs
+++ b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs
@@ -161,7 +161,7 @@ fn closing_a_goal_is_never_packed() {
"`goal_complete` was packed; see the carve-out note on the `goals` pack"
);
// And the rest of the family is, or the carve-out saved nothing.
- for held in ["goals", "goal_get", "goal_set"] {
+ for held in ["goal_get", "goal_set"] {
assert!(
all_packed_tool_names().contains(&held),
"`{held}` should be reachable through the `goals` pack, not on the wire"
@@ -408,14 +408,6 @@ fn every_pack_declares_the_tools_it_is_named_for() {
],
),
("scheduling", &["cron"]),
- (
- "profile",
- &[
- "save_preference",
- "remember_preference",
- "manage_profile_memory",
- ],
- ),
(
"media",
&[
@@ -428,7 +420,7 @@ fn every_pack_declares_the_tools_it_is_named_for() {
],
),
("tasks", &["manage_tasks"]),
- ("goals", &["goals", "goal_get", "goal_set"]),
+ ("goals", &["goal_get", "goal_set"]),
("docs", &["gitbooks_search", "gitbooks_get_page"]),
];