fix: stop changing main model/agent from subtasks invocation (#7681)

Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
Daniel Polito
2026-01-15 20:18:39 -03:00
committed by GitHub
parent 81983d4a2e
commit 8b08d340ac
2 changed files with 36 additions and 18 deletions

View File

@@ -168,6 +168,12 @@ export namespace MessageV2 {
prompt: z.string(),
description: z.string(),
agent: z.string(),
model: z
.object({
providerID: z.string(),
modelID: z.string(),
})
.optional(),
command: z.string().optional(),
})
export type SubtaskPart = z.infer<typeof SubtaskPart>