Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: preserve legacy video retry values

[._.]/ Adam Eivybc06c10a0dc6
diff --git a/server/routes/mediaJobs.js b/server/routes/mediaJobs.js
index 9ebbb42f37..12499fd1be 100644
--- a/server/routes/mediaJobs.js
+++ b/server/routes/mediaJobs.js
@@ -279,7 +279,7 @@ router.post('/:id/retry', asyncHandler(async (req, res) => {
);
const params = { ...job.params, ...overrides };
if (job.kind === 'video') {
- const bounds = VIDEO_RETRY_BOUNDS_SCHEMA.safeParse(params);
+ const bounds = VIDEO_RETRY_BOUNDS_SCHEMA.safeParse(rawOverrides);
if (!bounds.success) throw new ServerError('Video retry settings are outside the supported range', { status: 400, code: 'VALIDATION_ERROR' });
}
for (const key of ['seed', 'steps', 'guidanceScale', 'imageStrength']) {