"""实现层 - DeepSeek模型客户端"""
from typing import Dict, Any
from .base_client import BaseLLMClient


class DeepSeekClient(BaseLLMClient):
    """DeepSeek模型客户端"""

    def __init__(self, config: Dict[str, Any]):
        """
        初始化DeepSeek客户端

        Args:
            config: 配置字典，包含 DEEPSEEK_SERVER_URL, DEEPSEEK_MODEL_ID, DEEPSEEK_API_KEY
        """
        super().__init__(
            server_url=config.get("DEEPSEEK_SERVER_URL", ""),
            model_id=config.get("DEEPSEEK_MODEL_ID", ""),
            api_key=config.get("DEEPSEEK_API_KEY", ""),
            timeout=config.get("timeout", 30),
            max_retries=config.get("max_retries", 2)
        )
