{"record":{"id":"b1c338b299c617c4","repo":"BerriAI/litellm","slug":"list-skills-is-not-supported-for-custom-llm-provi","errorCode":null,"errorMessage":"LIST skills is not supported for {custom_llm_provider}","messagePattern":"LIST skills is not supported for (.+?)","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"litellm/skills/main.py","lineNumber":380,"sourceCode":"\n        # Route to LiteLLM DB if custom_llm_provider=\"litellm_proxy\"\n        if custom_llm_provider == LlmProviders.LITELLM_PROXY.value:\n            return _get_litellm_skills_handler().list_skills_handler(\n                limit=limit or 20,\n                offset=0,\n                user_api_key_dict=_get_user_api_key_auth_from_kwargs(kwargs),\n                _is_async=_is_async,\n                logging_obj=litellm_logging_obj,\n                litellm_call_id=litellm_call_id,\n            )\n\n        # Get provider config for external providers (Anthropic, etc.)\n        skills_api_provider_config: BaseSkillsAPIConfig | None = ProviderConfigManager.get_provider_skills_api_config(\n            provider=litellm.LlmProviders(custom_llm_provider),\n        )\n\n        if skills_api_provider_config is None:\n            raise ValueError(f\"LIST skills is not supported for {custom_llm_provider}\")\n\n        # Build list parameters\n        list_params: Final[ListSkillsParams] = {}\n        if limit is not None:\n            list_params[\"limit\"] = limit\n        if page is not None:\n            list_params[\"page\"] = page\n        if source is not None:\n            list_params[\"source\"] = source\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 {}\n        headers = skills_api_provider_config.validate_environment(headers=headers, litellm_params=litellm_params)\n","sourceCodeStart":362,"sourceCodeEnd":398,"githubUrl":"https://github.com/BerriAI/litellm/blob/77b7c6c40c0c5aa5fbcb1d6a1825ac39ca8829b8/litellm/skills/main.py#L362-L398","documentation":"Provider-support check in list_skills: the routing resolved a provider config for custom_llm_provider, but no LIST-skills implementation exists for it (only litellm_proxy and Anthropic-style providers are routed). The provider name is the invalid input; use a supported provider.","triggerScenarios":"Thrown at litellm/skills/main.py:380 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a provider that supports listing skills, or implement list skills in a custom provider wrapper for {custom_llm_provider}."],"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-14T00:17:10.932Z"}