BerriAI/litellm · error · ValueError
Vector store file create is not supported for {custom_llm_pr
Error message
Vector store file create is not supported for {custom_llm_provider} What it means
Provider-support check in vector_store_file create: after _ensure_provider and credential prep, no provider config implements file creation for the resolved custom_llm_provider, so the operation cannot be routed to any backend.
Source
Thrown at litellm/vector_store_files/main.py:136
**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("acreate", 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 create is not supported for {custom_llm_provider}")
local_vars.update(kwargs)
create_request: VectorStoreFileCreateRequest = VectorStoreFileRequestUtils.get_create_request_params(local_vars)
create_request["file_id"] = file_id
litellm_logging_obj.update_from_kwargs(
kwargs=kwargs,
model=None,
optional_params={
"vector_store_id": vector_store_id,
**create_request,
},
litellm_params={
"vector_store_id": vector_store_id,
"litellm_call_id": litellm_call_id,
**litellm_params.model_dump(exclude_none=True),
},
custom_llm_provider=custom_llm_provider,View on GitHub (pinned to 77b7c6c40c)
Solutions
- Use a provider that supports vector store file creation (e.g. openai, azure) instead of {custom_llm_provider}.
- Implement the operation in a custom provider wrapper.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at litellm/vector_store_files/main.py:136 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/93efd140ed88e842.
Report an issue: GitHub.