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
fix(agent): update prompts after removing people and thread tools
Steven Enamakel1bd01b34d735
diff --git a/src/openhuman/agent/registry/agents/context_scout/prompt.rs b/src/openhuman/agent/registry/agents/context_scout/prompt.rsindex f6b37c0ebd..fa30d6d007 100644--- a/src/openhuman/agent/registry/agents/context_scout/prompt.rs+++ b/src/openhuman/agent/registry/agents/context_scout/prompt.rs@@ -159,9 +159,11 @@ mod tests {fn body_instructs_transcript_and_skill_gathering() {// The enrichment is only real if the role prompt actually tells the// scout to search past chats and recommend skills — lock that wiring.+ // Past chats are reached through `memory_recall` since the `thread_*`+ // and `transcript_search` tools were removed.let body = build(&test_ctx()).unwrap();assert!(- body.contains("transcript_search"),+ body.contains("memory_recall"),"scout prompt must instruct searching past conversations");assert!(diff --git a/src/openhuman/agent/registry/agents/flow_memory_agent/prompt.rs b/src/openhuman/agent/registry/agents/flow_memory_agent/prompt.rsindex 49646c173e..afaaa95f6e 100644--- a/src/openhuman/agent/registry/agents/flow_memory_agent/prompt.rs+++ b/src/openhuman/agent/registry/agents/flow_memory_agent/prompt.rs@@ -106,7 +106,7 @@ mod tests {}#[test]- fn body_instructs_memory_and_people_and_thread_gathering() {+ fn body_instructs_memory_gathering() {let body = build(&test_ctx()).unwrap();assert!(body.contains("memory_recall"),@@ -116,13 +116,14 @@ mod tests {body.contains("memory_hybrid_search"),"prompt must instruct the memory_hybrid_search gathering tool");- assert!(- body.contains("people_list"),- "prompt must instruct the people_list gathering tool"- );- assert!(- body.contains("transcript_search"),- "prompt must instruct searching past conversations"- );+ // People and transcript lookups fold into memory: the `people_*` and+ // `thread_*` tool families were removed, so the prompt must not send+ // the agent at a tool that no longer exists.+ for gone in ["people_list", "transcript_search", "thread_list"] {+ assert!(+ !body.contains(gone),+ "prompt still names the removed tool `{gone}`"+ );+ }}}