BerriAI/litellm · error · NotImplementedError
Video remix is not supported by Google Veo.
Error message
Video remix is not supported by Google Veo.
What it means
The response-side stub of the remix flow for Gemini/Veo. Veo has no remix endpoint, so even if a remix request somehow got through, parsing its 'response' is explicitly NotImplementedError. Together with the request-side stub it guarantees the whole remix path is off-limits for this provider.
Solutions
- Remove or conditionally skip the Gemini branch of your remix handling; only use video_generation for Veo.
- Catch NotImplementedError at the orchestration layer and surface a clean 'unsupported by provider' message.
- Switch to a provider whose API actually supports remix for that workflow.
Defensive patterns
Strategy: try-catch
Validate before calling
def should_handle_remix_response(model: str) -> bool:
return not model.lower().startswith(("gemini/", "vedo/")) Try / catch
try:
video = handler.transform_video_remix_response(raw, logging_obj)
except NotImplementedError:
logger.debug("remix response unsupported for this provider") Prevention
- Never exercise response transforms for operations the provider does not support.
- Keep request-side capability checks as the single gate so response stubs stay unreachable.
When it happens
Trigger: Any code path that reaches transform_video_remix_response with custom_llm_provider='gemini' — e.g. a custom router or fork that bypassed the request-side guard, or future LiteLLM plumbing that calls response transforms generically.
Common situations: Custom middleware that replays a recorded remix exchange against Gemini; provider-agnostic response handlers that assume all transform hooks exist.
Understand the failure class
Background: UnsupportedOperationException and "is not supported" errors: when a library deliberately refuses a call — this error's family across 30 libraries.
Related errors
- Video remix is not supported by Google Veo. Please use…
- video create character is not supported for Gemini
- Video delete is not supported by Google Veo.
- Video delete is not supported by Google Veo. Videos are…
- video edit is not supported for Gemini
AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18).
Data as JSON: /api/errors/5c5c3eee15324dc9.
Report an issue: GitHub.
Appendix: source
Thrown at litellm/llms/gemini/videos/transformation.py:499
litellm_params: GenericLiteLLMParams,
headers: dict,
extra_body: dict[str, Any] | None = None,
) -> tuple[str, dict]:
"""
Video remix is not supported by Veo API.
"""
raise NotImplementedError(
"Video remix is not supported by Google Veo. Please use video_generation() to create new videos."
)
def transform_video_remix_response(
self,
raw_response: httpx.Response,
logging_obj: LiteLLMLoggingObj,
custom_llm_provider: str | None = None,
) -> VideoObject:
"""Video remix is not supported."""
raise NotImplementedError("Video remix is not supported by Google Veo.")
def transform_video_list_request(
self,
api_base: str,
litellm_params: GenericLiteLLMParams,
headers: dict,
after: str | None = None,
limit: int | None = None,
order: str | None = None,
extra_query: dict[str, Any] | None = None,
) -> tuple[str, dict]:
"""
Video list is not supported by Veo API.
"""
raise NotImplementedError(
"Video list is not supported by Google Veo. "
"Use the operations endpoint directly if you need to list operations."
)View on GitHub (pinned to 77b7c6c40c)