use optional instead of required for tdd config for backwards compatibility
This commit is contained in:
@@ -4267,9 +4267,6 @@
|
|||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
|
||||||
"tdd"
|
|
||||||
],
|
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"comment_checker": {
|
"comment_checker": {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ export const SisyphusAgentConfigSchema = z.object({
|
|||||||
default_builder_enabled: z.boolean().optional(),
|
default_builder_enabled: z.boolean().optional(),
|
||||||
planner_enabled: z.boolean().optional(),
|
planner_enabled: z.boolean().optional(),
|
||||||
replace_plan: z.boolean().optional(),
|
replace_plan: z.boolean().optional(),
|
||||||
tdd: z.boolean().default(true),
|
tdd: z.boolean().default(true).optional(),
|
||||||
})
|
})
|
||||||
|
|
||||||
export type SisyphusAgentConfig = z.infer<typeof SisyphusAgentConfigSchema>
|
export type SisyphusAgentConfig = z.infer<typeof SisyphusAgentConfigSchema>
|
||||||
|
|||||||
Reference in New Issue
Block a user