support agent options

This commit is contained in:
Dax Raad
2025-08-10 20:30:25 -04:00
parent b8d2aebf09
commit 3ab4f42ebb
4 changed files with 25 additions and 13 deletions

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({