feat: drop agent ID from v2 (#17005)

This commit is contained in:
jif-oai
2026-04-07 10:56:01 +01:00
committed by GitHub
parent e2bb45bb24
commit 2a8c3a2a52
5 changed files with 5 additions and 14 deletions
+1 -5
View File
@@ -375,10 +375,6 @@ fn spawn_agent_output_schema_v2() -> Value {
json!({
"type": "object",
"properties": {
"agent_id": {
"type": ["string", "null"],
"description": "Legacy thread identifier for the spawned agent."
},
"task_name": {
"type": "string",
"description": "Canonical task name for the spawned agent."
@@ -388,7 +384,7 @@ fn spawn_agent_output_schema_v2() -> Value {
"description": "User-facing nickname for the spawned agent when available."
}
},
"required": ["agent_id", "task_name", "nickname"],
"required": ["task_name", "nickname"],
"additionalProperties": false
})
}