{"record":{"id":"f9e624865b013039","repo":"BerriAI/litellm","slug":"list-runs-is-not-supported-for-custom-llm-provide","errorCode":null,"errorMessage":"LIST runs is not supported for {custom_llm_provider}","messagePattern":"LIST runs is not supported for (.+?)","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/evals/main.py","lineNumber":1397,"sourceCode":"    try:\n        litellm_logging_obj: Final[LiteLLMLoggingObj] = kwargs.get(\"litellm_logging_obj\")\n        litellm_call_id: Final[str | None] = kwargs.get(\"litellm_call_id\", None)\n        _is_async: Final = kwargs.pop(\"alist_runs\", False) is True\n\n        # Get LiteLLM parameters\n        litellm_params: Final = GenericLiteLLMParams(**kwargs)\n\n        # Determine provider\n        if custom_llm_provider is None:\n            custom_llm_provider = \"openai\"\n\n        # Get provider config\n        evals_api_provider_config: BaseEvalsAPIConfig | None = ProviderConfigManager.get_provider_evals_api_config(\n            provider=litellm.LlmProviders(custom_llm_provider),\n        )\n\n        if evals_api_provider_config is None:\n            raise ValueError(f\"LIST runs is not supported for {custom_llm_provider}\")\n\n        # Build list parameters\n        list_params: Final[ListRunsParams] = {}\n        if limit is not None:\n            list_params[\"limit\"] = limit\n        if after is not None:\n            list_params[\"after\"] = after\n        if before is not None:\n            list_params[\"before\"] = before\n        if order is not None:\n            list_params[\"order\"] = order\n\n        # Merge extra_query if provided\n        if extra_query:\n            list_params.update(extra_query)\n\n        # Validate environment and get headers\n        headers = extra_headers or {}","sourceCodeStart":1379,"sourceCodeEnd":1415,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/evals/main.py#L1379-L1415","documentation":"Evals API dispatch guard: after resolving the provider, no BaseEvalsAPIConfig implementing list_runs was found for custom_llm_provider, so LIST runs is unsupported for that provider in LiteLLM.","triggerScenarios":"Thrown at litellm/evals/main.py:1397 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["LIST runs is only supported by certain providers; use a provider that implements eval runs (e.g. OpenAI).","Check the litellm evals docs for provider support before calling list runs."],"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-23T08:17:48.524Z"}