{"record":{"id":"5a37ef865d833f08","repo":"diegosouzapw/OmniRoute","slug":"no-vision-capable-provider-connected-for-video-bri","errorCode":null,"errorMessage":"No vision-capable provider connected for Video Bridge","messagePattern":"No vision-capable provider connected for Video Bridge","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/lib/guardrails/videoBridge.ts","lineNumber":761,"sourceCode":"        attempts: attemptedParts.length,\n        videoModel: combineModelIdentities(successfulModels, routingPlanModel),\n        videosProcessed,\n        videosReplaced,\n      },\n    };\n  }\n\n  private async describeWithVisionModel(\n    part: VideoPart,\n    runtime: ReturnType<typeof resolveVideoBridgeRuntimeSettings>,\n    visionRuntime: ReturnType<typeof resolveVisionBridgeRuntimeSettings>,\n    selectedModel: string | null,\n    analysis: VideoAnalysisContext,\n    signal?: AbortSignal,\n    preloadedBytes?: Uint8Array\n  ): Promise<DescribedVideo> {\n    if (!selectedModel) {\n      throw new Error(\"No vision-capable provider connected for Video Bridge\");\n    }\n    const cache = runtime.cacheEnabled ? getSharedBridgeCacheFor(runtime) : null;\n    const callVisionModel = this.deps.callVisionModel ?? defaultCallVisionModel;\n    let cacheHits = 0;\n    const successfulModels = new Set<string>();\n    const described = await defaultDescribeVideoPart(\n      part,\n      {\n        analysisMode: analysis.analysisMode,\n        frameCount: runtime.frameCount,\n        samplingPolicy: runtime.samplingPolicy,\n        focusWindow: part.focusWindow,\n        signal,\n        timeoutMs: runtime.timeoutMs,\n      },\n      async (frameDataUri, timestampSeconds, signal) => {\n        const prompt = composeVideoFramePrompt(\n          visionRuntime.prompt,","sourceCodeStart":743,"sourceCodeEnd":779,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/guardrails/videoBridge.ts#L743-L779","documentation":"describeWithVisionModel was asked to caption a video part but selectedModel is null: no vision-capable provider/model is connected, so the Video Bridge guardrail cannot translate the video into a text description and the request cannot satisfy the vision requirement.","triggerScenarios":"Thrown at src/lib/guardrails/videoBridge.ts:761 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Connect at least one vision-capable provider/model (e.g. GPT-4o, Gemini, Claude with vision) in provider settings","Verify the vision model routing/selection config resolves to a connected provider","If vision is not needed, disable the video-bridge guardrail for this request"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}