code: def default_llm_config(config_list, timeout=180):
      """Return a default config list with a given timeout, and with caching disabled.
      The formatting depends on the version of Autogen installed.
  
      Args:
          config_list (list): the OAI config list to include in the final llm_config
          timeout (int): the timeout for calls to the LLM
  
      Returns:
          None
      """
      llm_config = {
          "config_list": config_list,
      }
  
      # Add options depending on the version
      if AUTOGEN_VERSION < packaging.version.parse("0.2.0b1"):
          llm_config["request_timeout"] = timeout
          llm_config["use_cache"] = False
      elif AUTOGEN_VERSION < packaging.version.parse("0.2.0b4"):
          llm_config["timeout"] = timeout
          llm_config["cache"] = None
      else:
          llm_config["timeout"] = timeout
          llm_config["cache_seed"] = None
  
      return llm_config
  
file_path: autogen/samples/tools/testbed/includes/testbed_utils.py
imports: from pkg_resources import packaging
  from datetime import datetime
  import os
  import autogen
  import json
label_desc: Use image node_id 1 for calling a global function with example usage: default_llm_config(config_list, timeout) and returns: llm_config