code: def __init__(self, status_code, reason, text):
      super().__init__(
          f"Service model error [{status_code} {reason}]: {text}"
      )
  
imports: import json
  from dataclasses import dataclass
  from typing import Callable, Optional
  import aiohttp
  import requests
  from structlog import get_logger
  from tenacity import retry, retry_if_exception, stop_after_attempt, wait_random_exponential
  from modelkit.core.model import AsyncModel, Model
  from modelkit.core.types import ItemType, ReturnType
label_desc: Use image node_id 1 to create a new DistantHTTPModelError object from inherited base classes: Exception with example: obj = DistantHTTPModelError(status_code, reason, text)