{"record":{"id":"47d7677b816b2aa0","repo":"BerriAI/litellm","slug":"video-create-character-is-not-supported-for-custo","errorCode":null,"errorMessage":"video create character is not supported for {custom_llm_provider}","messagePattern":"video create character is not supported for (.+?)","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/videos/main.py","lineNumber":1176,"sourceCode":"\n        mock_response = kwargs.get(\"mock_response\", None)\n        if mock_response is not None:\n            if isinstance(mock_response, str):\n                mock_response = json.loads(mock_response)\n            return CharacterObject(**mock_response)\n\n        if custom_llm_provider is None:\n            custom_llm_provider = \"openai\"\n\n        litellm_params: Final = GenericLiteLLMParams(**kwargs)\n\n        provider_config: Final[BaseVideoConfig | None] = ProviderConfigManager.get_provider_video_config(\n            model=None,\n            provider=litellm.LlmProviders(custom_llm_provider),\n        )\n\n        if provider_config is None:\n            raise ValueError(f\"video create character is not supported for {custom_llm_provider}\")\n\n        local_vars.update(kwargs)\n        request_params: Final[dict] = {\"name\": name}\n\n        litellm_logging_obj.update_environment_variables(\n            model=\"\",\n            user=kwargs.get(\"user\"),\n            optional_params=dict(request_params),\n            litellm_params={\"litellm_call_id\": litellm_call_id, **request_params},\n            custom_llm_provider=custom_llm_provider,\n        )\n\n        litellm_logging_obj.call_type = CallTypes.video_create_character.value\n\n        return base_llm_http_handler.video_create_character_handler(\n            name=name,\n            video=video,\n            video_provider_config=provider_config,","sourceCodeStart":1158,"sourceCodeEnd":1194,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/videos/main.py#L1158-L1194","documentation":"Provider-support check in video character creation: no video config implements character creation for the resolved provider, so the character-create request is rejected before dispatch.","triggerScenarios":"Thrown at litellm/videos/main.py:1176 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a provider that supports creating video characters, 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-14T05:17:10.506Z"}