feat: experimental.primary_tools, allow user to set the tools that should only be available to primary agents (#4913)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Spoon
2025-12-03 18:19:43 +01:00
committed by GitHub
parent 91db82c138
commit 0bccd1d578
3 changed files with 12 additions and 0 deletions

View File

@@ -668,6 +668,10 @@ export namespace Config {
chatMaxRetries: z.number().optional().describe("Number of retries for chat completions on failure"),
disable_paste_summary: z.boolean().optional(),
batch_tool: z.boolean().optional().describe("Enable the batch tool"),
primary_tools: z
.array(z.string())
.optional()
.describe("Tools that should only be available to primary agents."),
})
.optional(),
})