code: def get_localhost_info() -> dict:
      """Get information about the specifications of localhost.
  
      Returns:
          dict: Current dict keys: 'os', 'cpu_cores', 'memory', 'python_version', 'workspace_version', 'gpus'.
      """
      info = {
          "os": _get_os_on_localhost(),
          "cpu_cores": _get_cpu_count_on_localhost(),
          "memory": _get_memory_on_localhost(),
          "python_version": _get_python_version_on_localhost(),
          "workspace_version": _get_workspace_version_on_localhost(),
          "gpus": _get_gpu_info_for_localhost(),
      }
      return info
  
imports: import os
  import platform
  import socket
  import subprocess
  import sys
  from typing import Dict, List, Union
  import lazycluster.settings
  from .utils import Environment
label_desc: Use image node_id 3 for calling a global function with example usage: get_localhost_info() and returns: info