BerriAI/litellm · error · ValueError
Vector store file list is not supported for {custom_llm_prov
Error message
Vector store file list is not supported for {custom_llm_provider} What it means
Provider-support check when listing vector store files: no provider config exists for the resolved custom_llm_provider, so the list operation has no backend implementation to dispatch to.
Source
Thrown at litellm/vector_store_files/main.py:265
**kwargs,
) -> VectorStoreFileListResponse | Coroutine[Any, Any, VectorStoreFileListResponse]:
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("alist", 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 list is not supported for {custom_llm_provider}")
local_vars.update(kwargs)
list_query: VectorStoreFileListQueryParams = VectorStoreFileRequestUtils.get_list_query_params(local_vars)
litellm_logging_obj.update_from_kwargs(
kwargs=kwargs,
model=None,
optional_params={"vector_store_id": vector_store_id, **list_query},
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,
)
response: Final = base_llm_http_handler.vector_store_file_list_handler(
vector_store_id=vector_store_id,View on GitHub (pinned to 77b7c6c40c)
Solutions
- Use a provider that supports listing 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:265 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/9becb44dc07c715c.
Report an issue: GitHub.