Unified · Split
| @@ -383,9 +383,11 @@ func (h *OpenAIAPIHandler) imagesEditsFromMultipart(c *gin.Context) { · 382 unmodified lines | ||
| 383 | 383 | if v := strings.TrimSpace(c.PostForm("partial_images")); v != "" { |
| 384 | 384 | tool, _ = sjson.SetBytes(tool, "partial_images", parseIntField(v, 0)) |
| 385 | 385 | } |
| 386 | − if v := strings.TrimSpace(c.PostForm("n")); v != "" { | |
| 387 | − tool, _ = sjson.SetBytes(tool, "n", parseIntField(v, 0)) | |
| 388 | − } | |
| 386 | + | |
| 387 | + // Unsupported parameter | |
| 388 | + // if v := strings.TrimSpace(c.PostForm("n")); v != "" { | |
| 389 | + // tool, _ = sjson.SetBytes(tool, "n", parseIntField(v, 0)) | |
| 390 | + // } | |
| 389 | 391 | |
| 390 | 392 | if maskDataURL != nil && strings.TrimSpace(*maskDataURL) != "" { |
| 391 | 393 | tool, _ = sjson.SetBytes(tool, "input_image_mask.image_url", strings.TrimSpace(*maskDataURL)) |