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


class GeminiClient(BaseLLMClient):
    """Gemini模型客户端"""

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

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