fix: Forgot to automatically add the bidirectional communication back up to parent agents from sub-agents (i.e. need to be able to check inbox and send messages)

This commit is contained in:
Dark-Alex-17 committed 2026-02-17 16:11:35 -07:00
1 parent 22c75fb578
commit 4e170b069b
4 files changed
+68 -49

No files matched your search

+5
View File
@@ -276,6 +276,11 @@ impl Functions {
.extend(supervisor::supervisor_function_declarations());
}
pub fn append_teammate_functions(&mut self) {
self.declarations
.extend(supervisor::teammate_function_declarations());
}
pub fn clear_mcp_meta_functions(&mut self) {
self.declarations.retain(|d| {
!d.name.starts_with(MCP_INVOKE_META_FUNCTION_NAME_PREFIX)