{"record":{"id":"2c936891c4270775","repo":"BerriAI/litellm","slug":"list-input-items-is-not-supported-for-custom-llm","errorCode":null,"errorMessage":"list_input_items is not supported for {custom_llm_provider}","messagePattern":"list_input_items is not supported for (.+?)","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/responses/main.py","lineNumber":1570,"sourceCode":"\n        litellm_params: Final = GenericLiteLLMParams(**kwargs)\n\n        decoded_response_id: Final = ResponsesAPIRequestUtils._decode_responses_api_response_id(response_id=response_id)\n        response_id = decoded_response_id.get(\"response_id\") or response_id\n        custom_llm_provider = decoded_response_id.get(\"custom_llm_provider\") or custom_llm_provider\n\n        if custom_llm_provider is None:\n            raise ValueError(\"custom_llm_provider is required but passed as None\")\n\n        responses_api_provider_config: Final[BaseResponsesAPIConfig | None] = (\n            ProviderConfigManager.get_provider_responses_api_config(\n                model=None,\n                provider=custom_llm_provider,\n            )\n        )\n\n        if responses_api_provider_config is None:\n            raise ValueError(f\"list_input_items is not supported for {custom_llm_provider}\")\n\n        local_vars.update(kwargs)\n\n        litellm_logging_obj.update_from_kwargs(\n            kwargs=local_vars,\n            model=None,\n            optional_params={\"response_id\": response_id},\n            litellm_params={\"litellm_call_id\": litellm_call_id},\n            custom_llm_provider=custom_llm_provider,\n        )\n\n        response: Final = base_llm_http_handler.list_responses_input_items(\n            response_id=response_id,\n            custom_llm_provider=custom_llm_provider,\n            responses_api_provider_config=responses_api_provider_config,\n            litellm_params=litellm_params,\n            logging_obj=litellm_logging_obj,\n            after=after,","sourceCodeStart":1552,"sourceCodeEnd":1588,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/responses/main.py#L1552-L1588","documentation":"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.","triggerScenarios":"Thrown at litellm/responses/main.py:1570 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a provider that supports list_input_items for the responses API."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8","analyzedAt":"2026-08-18T11:44:31.656Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}