{"record":{"id":"f0fffb99a0283821","repo":"BerriAI/litellm","slug":"video-extension-is-not-supported-for-this-provider","errorCode":null,"errorMessage":"video extension is not supported for this provider","messagePattern":"video extension is not supported for this provider","errorType":"exception","errorClass":"NotImplementedError","httpStatus":null,"severity":"error","filePath":"litellm/llms/base_llm/videos/transformation.py","lineNumber":371,"sourceCode":"        raise NotImplementedError(\"video edit is not supported for this provider\")\n\n    def transform_video_extension_request(\n        self,\n        prompt: str,\n        video_id: str,\n        seconds: str,\n        api_base: str,\n        litellm_params: GenericLiteLLMParams,\n        headers: dict,\n        extra_body: dict[str, Any] | None = None,\n    ) -> tuple[str, dict]:\n        \"\"\"\n        Transform the video extension request into a URL and JSON data.\n\n        Returns:\n            Tuple[str, Dict]: (url, data) for the POST request\n        \"\"\"\n        raise NotImplementedError(\"video extension is not supported for this provider\")\n\n    def transform_video_extension_response(\n        self,\n        raw_response: httpx.Response,\n        logging_obj: LiteLLMLoggingObj,\n        custom_llm_provider: str | None = None,\n    ) -> VideoObject:\n        raise NotImplementedError(\"video extension is not supported for this provider\")\n\n    def get_error_class(self, error_message: str, status_code: int, headers: dict | httpx.Headers) -> BaseLLMException:\n        from ..chat.transformation import BaseLLMException\n\n        raise BaseLLMException(\n            status_code=status_code,\n            message=error_message,\n            headers=headers,\n        )\n","sourceCodeStart":353,"sourceCodeEnd":389,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/llms/base_llm/videos/transformation.py#L353-L389","documentation":"Optional-capability stub: transform_video_extension_request raises by default because this video provider does not support extending a video's duration. It fires when an extension request is routed to a provider without that capability.","triggerScenarios":"Thrown at litellm/llms/base_llm/videos/transformation.py:371 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a video provider that supports video extension.","Check the provider documentation for supported video operations before calling.","Generate a longer video directly instead of extending."],"exampleFix":null,"handlingStrategy":"fallback","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-23T08:17:48.524Z"}