BerriAI/litellm · error · ValueError
Vector store file update is not supported for {custom_llm_pr
Error message
Vector store file update is not supported for {custom_llm_provider} What it means
Provider-support check when updating a vector store file: the resolved custom_llm_provider lacks an update implementation in the provider registry, so the mutation cannot be performed.
Source
Thrown at litellm/vector_store_files/main.py:597
**kwargs,
) -> VectorStoreFileObject | Coroutine[Any, Any, VectorStoreFileObject]:
local_vars: Final = locals()
try:
litellm_logging_obj: Final[LiteLLMLoggingObj] = kwargs.get("litellm_logging_obj")
litellm_call_id: Final[str | None] = kwargs.get("litellm_call_id")
_is_async: Final = kwargs.pop("aupdate", False) is True
custom_llm_provider = _ensure_provider(custom_llm_provider)
_prepare_registry_credentials(vector_store_id=vector_store_id, kwargs=kwargs)
litellm_params: Final = GenericLiteLLMParams(vector_store_id=vector_store_id, **kwargs)
provider_config: Final = ProviderConfigManager.get_provider_vector_store_files_config(
provider=LlmProviders(custom_llm_provider)
)
if provider_config is None:
raise ValueError(f"Vector store file update is not supported for {custom_llm_provider}")
local_vars.update(kwargs)
update_request: VectorStoreFileUpdateRequest = VectorStoreFileRequestUtils.get_update_request_params(local_vars)
update_request["attributes"] = attributes
litellm_logging_obj.update_from_kwargs(
kwargs=kwargs,
model=None,
optional_params={
"vector_store_id": vector_store_id,
"file_id": file_id,
**update_request,
},
litellm_params={
"vector_store_id": vector_store_id,
"litellm_call_id": litellm_call_id,
**litellm_params.model_dump(exclude_none=True),
},View on GitHub (pinned to 77b7c6c40c)
Solutions
- Use a provider that supports updating vector store files, or implement it in a custom provider wrapper for {custom_llm_provider}.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at litellm/vector_store_files/main.py:597 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/453a3b46323daceb.
Report an issue: GitHub.