BerriAI/litellm · error · NotImplementedError

Provider '{provider}' not supported for Focus export

Error message

Provider '{provider}' not supported for Focus export

What it means

Error "Provider '{provider}' not supported for Focus export" thrown in BerriAI/litellm.

Source

Thrown at litellm/integrations/focus/destinations/factory.py:36

    @staticmethod
    def create(
        *,
        provider: str,
        prefix: str,
        config: dict[str, Any] | None = None,
    ) -> FocusDestination:
        """Return a destination implementation for the requested provider."""
        provider_lower: Final = provider.lower()
        normalized_config = FocusDestinationFactory._resolve_config(provider=provider_lower, overrides=config or {})
        if provider_lower == "s3":
            return FocusS3Destination(prefix=prefix, config=normalized_config)
        if provider_lower == "vantage":
            return FocusVantageDestination(prefix=prefix, config=normalized_config)
        if provider_lower == "gcs":
            return FocusGCSDestination(prefix=prefix, config=normalized_config)
        if provider_lower == "mavvrik":
            return FocusMavvrikDestination(prefix=prefix, config=normalized_config)
        raise NotImplementedError(f"Provider '{provider}' not supported for Focus export")

    @staticmethod
    def _resolve_config(
        *,
        provider: str,
        overrides: dict[str, Any],
    ) -> dict[str, Any]:
        if provider == "s3":
            resolved = {
                "bucket_name": overrides.get("bucket_name") or os.getenv("FOCUS_S3_BUCKET_NAME"),
                "region_name": overrides.get("region_name") or os.getenv("FOCUS_S3_REGION_NAME"),
                "endpoint_url": overrides.get("endpoint_url") or os.getenv("FOCUS_S3_ENDPOINT_URL"),
                "aws_access_key_id": overrides.get("aws_access_key_id") or os.getenv("FOCUS_S3_ACCESS_KEY"),
                "aws_secret_access_key": overrides.get("aws_secret_access_key") or os.getenv("FOCUS_S3_SECRET_KEY"),
                "aws_session_token": overrides.get("aws_session_token") or os.getenv("FOCUS_S3_SESSION_TOKEN"),
            }
            if not resolved.get("bucket_name"):
                raise ValueError("FOCUS_S3_BUCKET_NAME must be provided for S3 exports")

View on GitHub (pinned to 6c2dcb801b)

Solutions

  1. Use a supported Focus export provider (s3, gcs, vantage, mavvrik).

When it happens

Trigger: Thrown at litellm/integrations/focus/destinations/factory.py:36 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of BerriAI/litellm@6c2dcb801b (2026-08-15). Data as JSON: /api/errors/aec834860b1b63cb. Report an issue: GitHub.