diff --git a/static/app/components/seer/projectAddRepoModal/projectAddRepoModal.tsx b/static/app/components/seer/projectAddRepoModal/projectAddRepoModal.tsx index 01939a439dd5..d4f77b16c606 100644 --- a/static/app/components/seer/projectAddRepoModal/projectAddRepoModal.tsx +++ b/static/app/components/seer/projectAddRepoModal/projectAddRepoModal.tsx @@ -95,6 +95,7 @@ export function ProjectAddRepoModal({Header, Body, Footer, title, closeModal}: P .min(1, {message: t('Please add at least one repository')}), agentOption: z.custom(), stoppingPoint: z.enum(['off', 'root_cause', 'plan', 'create_pr']), + prIteration: z.boolean(), }); const saveMutation = useMutateAutofixProject(); @@ -108,6 +109,7 @@ export function ProjectAddRepoModal({Header, Body, Footer, title, closeModal}: P repoEntries: [] as Array<{branch: string; repoId: string}>, agentOption, stoppingPoint, + prIteration: true, }, validators: { onMount: formSchema.extend({ @@ -391,6 +393,24 @@ export function ProjectAddRepoModal({Header, Body, Footer, title, closeModal}: P )} + + + + + {field => ( + + + + )} +