"""DeepSeek LLM provider for Local Deep Research."""

from ..openai_base import OpenAICompatibleProvider


class DeepseekProvider(OpenAICompatibleProvider):
    """DeepSeek provider using OpenAI-compatible endpoint."""

    provider_name = "DeepSeek"
    api_key_setting = "llm.deepseek.api_key"
    default_base_url = "https://api.deepseek.com/v1"
    default_model = "deepseek-reasoner"

    # Metadata for auto-discovery
    provider_key = "DEEPSEEK"
    company_name = "DeepSeek"
    is_cloud = True

    @classmethod
    def requires_auth_for_models(cls):
        """DeepSeek requires authentication for listing models."""
        return True
