fix: keep enlargement patch single-reference by default
This commit is contained in:
parent
97720a55e5
commit
39ee88bd12
@ -2460,9 +2460,7 @@ export async function POST(request: NextRequest) {
|
|||||||
})
|
})
|
||||||
: [];
|
: [];
|
||||||
const useScaleAdjustPatchTargetDraftPrimary = Boolean(scaleAdjustPatchReference);
|
const useScaleAdjustPatchTargetDraftPrimary = Boolean(scaleAdjustPatchReference);
|
||||||
const includeScaleAdjustPatchSourceReference =
|
const includeScaleAdjustPatchSourceReference = false;
|
||||||
Boolean(scaleAdjustPatchReference) &&
|
|
||||||
hasScaleAdjustEnlargeTarget(regions, scalePercent);
|
|
||||||
const prompt = isScaleAdjustOperation
|
const prompt = isScaleAdjustOperation
|
||||||
? scaleAdjustPatchReference
|
? scaleAdjustPatchReference
|
||||||
? buildScaleAdjustPatchPrompt(
|
? buildScaleAdjustPatchPrompt(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user