fix: keep enlargement patch single-reference by default

This commit is contained in:
134 2026-07-03 10:53:40 +08:00
parent 97720a55e5
commit 39ee88bd12

View File

@ -2460,9 +2460,7 @@ export async function POST(request: NextRequest) {
})
: [];
const useScaleAdjustPatchTargetDraftPrimary = Boolean(scaleAdjustPatchReference);
const includeScaleAdjustPatchSourceReference =
Boolean(scaleAdjustPatchReference) &&
hasScaleAdjustEnlargeTarget(regions, scalePercent);
const includeScaleAdjustPatchSourceReference = false;
const prompt = isScaleAdjustOperation
? scaleAdjustPatchReference
? buildScaleAdjustPatchPrompt(