code: def _distant_http_model_lib(**settings):
      class TestModel(DistantHTTPModel):
          CONFIGURATIONS = {
              "test_distant_http_model": {
                  "model_settings": {
                      "endpoint": "http://127.0.0.1:8000/api/path/endpoint",
                      "async_mode": False,
                      **settings,
                  }
              }
          }
  
      lib = ModelLibrary(models=[TestModel])
      yield lib
      lib.close()
  
imports: import json
  import os
  import subprocess
  import sys
  import time
  import pydantic
  import pytest
  import requests
  from modelkit.core.library import ModelLibrary
  from modelkit.core.models.distant_model import AsyncDistantHTTPBatchModel, AsyncDistantHTTPModel, DistantHTTPBatchModel, DistantHTTPModel
  from tests import TEST_DIR
label_desc: Use image node_id 4 for calling a global function with example usage: _distant_http_model_lib() without return types