support agent options

This commit is contained in:
Dax Raad
2025-08-10 20:30:25 -04:00
parent 80347b1ad4
commit 652bed02bb
4 changed files with 25 additions and 13 deletions
+1
View File
@@ -173,6 +173,7 @@ export namespace Config {
tools: z.record(z.string(), z.boolean()).optional(),
disable: z.boolean().optional(),
description: z.string().optional().describe("Description of when to use the agent"),
options: z.record(z.string(), z.any()).optional().describe("Additional model options passed through to provider"),
mode: z.union([z.literal("subagent"), z.literal("primary"), z.literal("all")]).optional(),
})
.openapi({