code: def add_resources(
      dict1: Dict[str, float], dict2: Dict[str, float]
  ) -> Dict[str, float]:
      """Add the values in two dictionaries.
  
      Returns:
          dict: A new dictionary (inputs remain unmodified).
      """
      new_dict = dict1.copy()
      for k, v in dict2.items():
          new_dict[k] = v + new_dict.get(k, 0)
      return new_dict
  
imports: import logging
  import time
  from collections import Counter
  from functools import reduce
  from typing import Dict, List
  from ray._private.gcs_utils import PlacementGroupTableData
  from ray.autoscaler._private.constants import AUTOSCALER_MAX_RESOURCE_DEMAND_VECTOR_SIZE, AUTOSCALER_REPORT_PER_NODE_STATUS
  from ray.autoscaler._private.util import DictCount, LoadMetricsSummary, NodeIP, ResourceDict
  from ray.core.generated.common_pb2 import PlacementStrategy
label_desc: Use image node_id 1 for calling a global function with example usage: add_resources(dict1, dict2) and returns: new_dict