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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: guard unsupported video retry combinations
[._.]/ Adam Eivy2346a83d248d
diff --git a/client/src/components/media/MediaJobsQueue.jsx b/client/src/components/media/MediaJobsQueue.jsxindex 1ba903e56a..b1627d02ef 100644--- a/client/src/components/media/MediaJobsQueue.jsx+++ b/client/src/components/media/MediaJobsQueue.jsx@@ -702,6 +702,11 @@ function VideoRetryForm({ job, onSubmit, onCancel }) {const videoLoras = loraFamily ? availableLoras.filter((lora) => loraFamilyOf(lora) === loraFamily) : [];const encoderOptions = textEncoderOptionsForModel(currentModel);const originalEncoder = normalizeTextEncoderForModel(p.textEncoderId || STOCK_TEXT_ENCODER_ID, currentModel);+ // Multi-keyframe inputs are not exposed in the sanitized queue projection,+ // but FFLF is their persisted semantic mode. IC/a2v conditioning also pins+ // a single render, so keep the shared chaining controls consistent with the+ // normal VideoGen form for those retry records.+ const chainingLocked = p.mode === 'fflf' || p.mode === 'a2v' || p.mode?.startsWith('ic-');const handleModelChange = (event) => {const nextModelId = event.target.value;const nextModel = models.find((model) => model.id === nextModelId) || null;@@ -784,8 +789,8 @@ function VideoRetryForm({ job, onSubmit, onCancel }) {<AdvancedParamsPanelmode={p.mode || 'text'} currentModel={currentModel}numFrames={numFrames} onNumFramesChange={setNumFrames}- chunks={chunks} onChunksChange={setChunks} keyframesActive={false}- chunkPrompts={chunkPrompts} onChunkPromptChange={setChunkPromptAt} chainingActive={chunks > 1}+ chunks={chunks} onChunksChange={setChunks} keyframesActive={chainingLocked}+ chunkPrompts={chunkPrompts} onChunkPromptChange={setChunkPromptAt} chainingActive={chunks > 1 && !chainingLocked}contextFrames={contextFrames} onContextFramesChange={setContextFrames}fps={fps} onFpsChange={setFps} seed={seed} onSeedChange={setSeed} onRandomSeed={() => setSeed(Math.floor(Math.random() * 2147483647))}steps={steps} onStepsChange={setSteps} guidanceScale={guidanceScale} onGuidanceScaleChange={setGuidanceScale}diff --git a/server/services/videoGen/prepareParams.js b/server/services/videoGen/prepareParams.jsindex 6f6c0f030e..2ddb60c3d3 100644--- a/server/services/videoGen/prepareParams.js+++ b/server/services/videoGen/prepareParams.js@@ -84,6 +84,18 @@ export function validateVideoRetryParams(params = {}) {if (Number(params.chunks || 1) > 1) {const chainError = videoChainUnsupportedError(model);if (chainError) throw chainError;+ if (Array.isArray(params.keyframes) && params.keyframes.length > 0) {+ throw new ServerError(+ 'keyframes cannot be combined with chunks > 1 — keyframes anchor a single clip.',+ { status: 400, code: 'KEYFRAMES_CHUNKS_CONFLICT' },+ );+ }+ if (icLoraSpecForMode(mode) || (Array.isArray(params.icReferencePaths) && params.icReferencePaths.length > 0)) {+ throw new ServerError(+ 'IC-LoRA modes cannot be combined with chunks > 1 — the reference clip anchors a single render.',+ { status: 400, code: 'IC_LORA_CHUNKS_CONFLICT' },+ );+ }}if ((mode === 'a2v' || icLoraSpecForMode(mode)) && !isLtx2FamilyRuntime(model.runtime)) {throw new ServerError(@@ -91,6 +103,9 @@ export function validateVideoRetryParams(params = {}) {{ status: 400, code: mode === 'a2v' ? 'A2V_REQUIRES_LTX2' : 'IC_LORA_REQUIRES_LTX2' },);}+ if (Array.isArray(params.loras) && params.loras.length > 0 && !videoLoraFamily(model)) {+ throw videoLoraUnsupportedError(model, modelId);+ }const numFrames = params.numFrames ?? model.defaultFrames ?? DEFAULT_NUM_FRAMES;const fps = params.fps ?? 24;if (isMiniMaxH3Runtime(model.runtime)) {