exo-explore/exo · error · ValueError

No configuration found for model: {model_id}

Error message

No configuration found for model: {model_id}

What it means

Error "No configuration found for model: {model_id}" thrown in exo-explore/exo.

Source

Thrown at src/exo/worker/engines/image/models/__init__.py:66

def get_config_for_model(model_id: str) -> ImageModelConfig:
    """Get configuration for a model ID.

    Args:
        model_id: The model identifier (e.g., "black-forest-labs/FLUX.1-schnell")

    Returns:
        The model configuration

    Raises:
        ValueError: If no configuration found for model ID
    """
    model_id_lower = model_id.lower()

    for pattern, config in _CONFIG_REGISTRY.items():
        if pattern in model_id_lower:
            return config

    raise ValueError(f"No configuration found for model: {model_id}")


def create_adapter_for_model(
    config: ImageModelConfig,
    model_id: str,
    local_path: Path,
    quantize: int | None = None,
) -> ModelAdapter[Any, Any]:
    """Create a model adapter for the given configuration.

    Args:
        config: The model configuration
        model_id: The model identifier
        local_path: Path to the model weights
        quantize: Optional quantization bits

    Returns:
        A ModelAdapter instance

View on GitHub (pinned to 21a54c5ea0)

When it happens

Trigger: Thrown at src/exo/worker/engines/image/models/__init__.py:66 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of exo-explore/exo@21a54c5ea0 (2026-08-26). Data as JSON: /api/errors/0f360101e94bd6eb. Report an issue: GitHub.