{"record":{"id":"f9239658f13633b4","repo":"BerriAI/litellm","slug":"video-remix-is-not-supported-for-custom-llm-provi","errorCode":null,"errorMessage":"video remix is not supported for {custom_llm_provider}","messagePattern":"video remix is not supported for (.+?)","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/videos/main.py","lineNumber":602,"sourceCode":"            response: Final = VideoObject(**mock_response)\n            return response\n\n        # Try to decode provider from video_id if not explicitly provided\n        if custom_llm_provider is None:\n            decoded: Final = decode_video_id_with_provider(video_id)\n            custom_llm_provider = decoded.get(\"custom_llm_provider\") or \"openai\"\n\n        # get llm provider logic\n        litellm_params: Final = GenericLiteLLMParams(**kwargs)\n\n        # get provider config\n        video_remix_provider_config: Final[BaseVideoConfig | None] = ProviderConfigManager.get_provider_video_config(\n            model=None,\n            provider=litellm.LlmProviders(custom_llm_provider),\n        )\n\n        if video_remix_provider_config is None:\n            raise ValueError(f\"video remix is not supported for {custom_llm_provider}\")\n\n        local_vars.update(kwargs)\n        # For video remix, we need the video_id and prompt\n        video_remix_request_params: Final[dict] = {\n            \"video_id\": video_id,\n            \"prompt\": prompt,\n        }\n\n        # Pre Call logging\n        litellm_logging_obj.update_from_kwargs(\n            kwargs=kwargs,\n            model=\"\",\n            user=kwargs.get(\"user\"),\n            optional_params=dict(video_remix_request_params),\n            litellm_params={\n                \"litellm_call_id\": litellm_call_id,\n                **video_remix_request_params,\n            },","sourceCodeStart":584,"sourceCodeEnd":620,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/videos/main.py#L584-L620","documentation":"Provider-support check in video remix: the resolved provider has no remix transformation in the video config registry, so remixing the given video_id is not possible through LiteLLM.","triggerScenarios":"Thrown at litellm/videos/main.py:602 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a provider that supports video remix, or implement it in a custom provider wrapper for {custom_llm_provider}."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}