diegosouzapw/OmniRoute · error · Error

No vision-capable provider connected for Video Bridge

Error message

No vision-capable provider connected for Video Bridge

What it means

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.

Solutions

  1. Connect at least one vision-capable provider/model (e.g. GPT-4o, Gemini, Claude with vision) in provider settings
  2. Verify the vision model routing/selection config resolves to a connected provider
  3. If vision is not needed, disable the video-bridge guardrail for this request
Defensive patterns

Strategy: fallback

When it happens

Trigger: Thrown at src/lib/guardrails/videoBridge.ts:761 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/5a37ef865d833f08. Report an issue: GitHub.

Appendix: source

Thrown at src/lib/guardrails/videoBridge.ts:761

        attempts: attemptedParts.length,
        videoModel: combineModelIdentities(successfulModels, routingPlanModel),
        videosProcessed,
        videosReplaced,
      },
    };
  }

  private async describeWithVisionModel(
    part: VideoPart,
    runtime: ReturnType<typeof resolveVideoBridgeRuntimeSettings>,
    visionRuntime: ReturnType<typeof resolveVisionBridgeRuntimeSettings>,
    selectedModel: string | null,
    analysis: VideoAnalysisContext,
    signal?: AbortSignal,
    preloadedBytes?: Uint8Array
  ): Promise<DescribedVideo> {
    if (!selectedModel) {
      throw new Error("No vision-capable provider connected for Video Bridge");
    }
    const cache = runtime.cacheEnabled ? getSharedBridgeCacheFor(runtime) : null;
    const callVisionModel = this.deps.callVisionModel ?? defaultCallVisionModel;
    let cacheHits = 0;
    const successfulModels = new Set<string>();
    const described = await defaultDescribeVideoPart(
      part,
      {
        analysisMode: analysis.analysisMode,
        frameCount: runtime.frameCount,
        samplingPolicy: runtime.samplingPolicy,
        focusWindow: part.focusWindow,
        signal,
        timeoutMs: runtime.timeoutMs,
      },
      async (frameDataUri, timestampSeconds, signal) => {
        const prompt = composeVideoFramePrompt(
          visionRuntime.prompt,

View on GitHub (pinned to a179ffed5b)