BerriAI/litellm · error · ValueError
list_input_items is not supported for {custom_llm_provider}
Error message
list_input_items is not supported for {custom_llm_provider} What it means
Dispatch guard in the Responses API input-items path: no BaseResponsesAPIConfig implementing list_input_items was found for the resolved custom_llm_provider, so listing a response's input items is unsupported for that provider.
Source
Thrown at litellm/responses/main.py:1570
litellm_params: Final = GenericLiteLLMParams(**kwargs)
decoded_response_id: Final = ResponsesAPIRequestUtils._decode_responses_api_response_id(response_id=response_id)
response_id = decoded_response_id.get("response_id") or response_id
custom_llm_provider = decoded_response_id.get("custom_llm_provider") or custom_llm_provider
if custom_llm_provider is None:
raise ValueError("custom_llm_provider is required but passed as None")
responses_api_provider_config: Final[BaseResponsesAPIConfig | None] = (
ProviderConfigManager.get_provider_responses_api_config(
model=None,
provider=custom_llm_provider,
)
)
if responses_api_provider_config is None:
raise ValueError(f"list_input_items is not supported for {custom_llm_provider}")
local_vars.update(kwargs)
litellm_logging_obj.update_from_kwargs(
kwargs=local_vars,
model=None,
optional_params={"response_id": response_id},
litellm_params={"litellm_call_id": litellm_call_id},
custom_llm_provider=custom_llm_provider,
)
response: Final = base_llm_http_handler.list_responses_input_items(
response_id=response_id,
custom_llm_provider=custom_llm_provider,
responses_api_provider_config=responses_api_provider_config,
litellm_params=litellm_params,
logging_obj=litellm_logging_obj,
after=after,View on GitHub (pinned to 77b7c6c40c)
Solutions
- Use a provider that supports list_input_items for the responses API.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at litellm/responses/main.py:1570 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/2c936891c4270775.
Report an issue: GitHub.