fix: update split into parts max params

This commit is contained in:
2026-10-05 09:12:19 +05:00
parent a9327eaa27
commit 2a282b48f8
5 changed files with 21 additions and 10 deletions
+3 -3
View File
@@ -402,7 +402,7 @@ const tileTool: Tool<TileParams> = {
run: imgTool((img, p) => tile(img, p.columns, p.rows)),
};
const MAX_SPLIT_PARTS = 1000;
const MAX_SPLIT_PARTS = 1024;
interface SplitPartsParams {
columns: number;
@@ -413,14 +413,14 @@ export const splitPartsSchema = toolSchema<SplitPartsParams>({
columns: field.number({
label: "fields.columns",
min: 1,
max: 6,
max: 32,
step: 1,
default: 2,
}),
rows: field.number({
label: "fields.rows",
min: 1,
max: 6,
max: 32,
step: 1,
default: 2,
}),