feat: tag new subagents with their type on creation (#1260)

Co-authored-by: Letta Code <noreply@letta.com>
This commit is contained in:
Devansh Jain
2026-03-04 11:36:34 -08:00
committed by GitHub
parent 0534fdf766
commit fbade3aee7

View File

@@ -515,6 +515,7 @@ function buildSubagentArgs(
} else {
// Create new agent (original behavior)
args.push("--new-agent", "--system", type);
args.push("--tags", `type:${type}`);
if (model) {
args.push("--model", model);
}