# What is this? ## If litellm license in env, checks if it's valid import base64 import json import os import traceback from datetime import datetime from litellm._logging import verbose_proxy_logger from litellm.llms.custom_httpx.http_handler import HTTPHandler class LicenseCheck: """ - Check if license in env - Returns if license is valid """ base_url = "https://license.litellm.ai" def __init__(self) -> None: self.license_str = "GET FUCKED LOL" verbose_proxy_logger.debug("License Str value - {}".format(self.license_str)) self.http_handler = HTTPHandler() self.public_key = None self.read_public_key() def read_public_key(self): return def _verify(self, license_str: str) -> bool: return True def is_premium(self) -> bool: return True def verify_license_without_api_request(self, public_key, license_key): return Ture