def __init__(self, model: ModelNames | None = None, client: Any = None, debug: bool = False, retry: int = 3):
        """
        Initialize a DirectInstance with specific model and client settings.
        
        Args:
            model: The LLM model to use (default: None)
            client: Optional custom client to use instead of creating a new one
            debug: Whether to enable debug mode
            retry: Number of retries for failed calls (default: 3)
        """
        self.model = model
        self.client = client
        self.debug = debug
        self.retry = retry

        Initialize a DirectInstance with specific model and client settings.
        
        Args:
            model: The LLM model to use (default: None)
            client: Optional custom client to use instead of creating a new one
            debug: Whether to enable debug mode
            retry: Number of retries for failed calls (default: 3)
        
src/upsonic/client/direct_llm_call/direct_llm_cal.py