INNER CODE UNIT · Python

_validate_api_keys

nolabs-ai/deepfabric · deepfabric/cli.py:204

def _validate_api_keys(
    config: DeepFabricConfig,
    provider_override: str | None = None,
) -> None:
    """Validate that required API keys are present and working for configured providers.

    Args:
        config: The loaded configuration
        provider_override: Optional CLI provider override that takes precedence

    Raises:
        ConfigurationError: If any required API key is missing or invalid
    """
    tui = get_tui()

    # Get providers from config
    providers = config.get_configured_providers()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…