BerriAI/litellm · error · ValueError
video get character is not supported for {custom_llm_provide
Error message
video get character is not supported for {custom_llm_provider} What it means
Provider-support check when getting a video character: the resolved provider has no character-get implementation in the video config registry, so the retrieval is unsupported.
Source
Thrown at litellm/videos/main.py:1301
mock_response = kwargs.get("mock_response", None)
if mock_response is not None:
if isinstance(mock_response, str):
mock_response = json.loads(mock_response)
return CharacterObject(**mock_response)
if custom_llm_provider is None:
custom_llm_provider = "openai"
litellm_params: Final = GenericLiteLLMParams(**kwargs)
provider_config: Final[BaseVideoConfig | None] = ProviderConfigManager.get_provider_video_config(
model=None,
provider=litellm.LlmProviders(custom_llm_provider),
)
if provider_config is None:
raise ValueError(f"video get character is not supported for {custom_llm_provider}")
local_vars.update(kwargs)
request_params: Final[dict] = {"character_id": character_id}
litellm_logging_obj.update_environment_variables(
model="",
user=kwargs.get("user"),
optional_params=dict(request_params),
litellm_params={"litellm_call_id": litellm_call_id, **request_params},
custom_llm_provider=custom_llm_provider,
)
litellm_logging_obj.call_type = CallTypes.video_get_character.value
return base_llm_http_handler.video_get_character_handler(
character_id=character_id,
video_provider_config=provider_config,
custom_llm_provider=custom_llm_provider,View on GitHub (pinned to 77b7c6c40c)
Solutions
- Use a provider that supports retrieving video characters, or implement it in a custom provider wrapper for {custom_llm_provider}.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at litellm/videos/main.py:1301 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18).
Data as JSON: /api/errors/dffeb90a03d1f6cb.
Report an issue: GitHub.