fix: Agent delegation tools were not being passed into the {{__tools__}} placeholder so agents weren't delegating to subagents

This commit is contained in:
2026-02-17 14:19:22 -07:00
parent 60ad83d6d9
commit cdafdff281
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -29,6 +29,7 @@ use crate::mcp::{
MCP_SEARCH_META_FUNCTION_NAME_PREFIX, McpRegistry,
};
use crate::supervisor::Supervisor;
use crate::supervisor::mailbox::Inbox;
use crate::vault::{GlobalVault, Vault, create_vault_password_file, interpolate_secrets};
use anyhow::{Context, Result, anyhow, bail};
use fancy_regex::Regex;
@@ -55,7 +56,6 @@ use std::{
use syntect::highlighting::ThemeSet;
use terminal_colorsaurus::{ColorScheme, QueryOptions, color_scheme};
use tokio::runtime::Handle;
use crate::supervisor::mailbox::Inbox;
pub const TEMP_ROLE_NAME: &str = "temp";
pub const TEMP_RAG_NAME: &str = "temp";