@shop-os/modelkit 0.2.16 → 0.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4633,7 +4633,7 @@ async function generateOmniVideo(req, ctx, createGenAIClient) {
4633
4633
  }
4634
4634
  }
4635
4635
  } finally {
4636
- await cleanupUploads();
4636
+ if (!(extend && !chained)) await cleanupUploads();
4637
4637
  }
4638
4638
  const jobId = interaction.id ?? crypto.randomUUID();
4639
4639
  const usage2 = videoUsage2(ctx, req, duration);