feat: tag new subagents with their type on creation (#1260)
Co-authored-by: Letta Code <noreply@letta.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user