BerriAI/litellm · error · ValueError
Vector store search is not supported for {custom_llm_provide
Error message
Vector store search is not supported for {custom_llm_provider} What it means
Provider-support check for vector store search: the resolved custom_llm_provider has no vector-store search config, so semantic/retrieval search cannot be dispatched to that provider.
Source
Thrown at litellm/vector_stores/main.py:411
if "/" in custom_llm_provider:
api_type, custom_llm_provider, _, _ = get_llm_provider(
model=custom_llm_provider,
custom_llm_provider=None,
litellm_params=None,
)
else:
api_type = None
custom_llm_provider = custom_llm_provider
# get provider config - using vector store custom logger for now
vector_store_provider_config: Final = ProviderConfigManager.get_provider_vector_stores_config(
provider=litellm.LlmProviders(custom_llm_provider),
api_type=api_type,
)
if vector_store_provider_config is None:
raise ValueError(f"Vector store search is not supported for {custom_llm_provider}")
local_vars.update(kwargs)
# Get VectorStoreSearchOptionalRequestParams with only valid parameters
vector_store_search_optional_params: Final[VectorStoreSearchOptionalRequestParams] = (
VectorStoreRequestUtils.get_requested_vector_store_search_optional_param(
local_vars,
vector_store_provider_config=vector_store_provider_config,
)
)
# Pre Call logging
litellm_logging_obj.update_from_kwargs(
kwargs=kwargs,
model=api_type,
optional_params={
"vector_store_id": vector_store_id,
"query": query,View on GitHub (pinned to 77b7c6c40c)
Solutions
- Use a provider that supports vector store search, or implement it in a custom provider wrapper for {custom_llm_provider}.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at litellm/vector_stores/main.py:411 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/67d438f972b59f54.
Report an issue: GitHub.