feat: tasks can't be assigned to root agent (#16424)

This commit is contained in:
jif-oai
2026-04-01 12:18:50 +02:00
committed by GitHub
parent 3152d1a557
commit 0c776c433b
3 changed files with 92 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ pub fn create_assign_task_tool() -> ToolSpec {
ToolSpec::Function(ResponsesApiTool {
name: "assign_task".to_string(),
description: "Add a message to an existing agent and trigger a turn in the target. Use interrupt=true to redirect work immediately. In MultiAgentV2, this tool currently supports text content only."
description: "Add a message to an existing non-root agent and trigger a turn in the target. Use interrupt=true to redirect work immediately. In MultiAgentV2, this tool currently supports text content only."
.to_string(),
strict: false,
defer_loading: None,