code: def llava_call_binary(
      prompt: str,
      images: list,
      config_list: list,
      max_new_tokens: int = 1000,
      temperature: float = 0.5,
      seed: int = 1,
  ):
      # TODO 1: add caching around the LLaVA call to save compute and cost
      # TODO 2: add `seed` to ensure reproducibility. The seed is not working now.
  
      for config in config_list:
          try:
              return _llava_call_binary_with_config(
                  prompt,
                  images,
                  config,
                  max_new_tokens,
                  temperature,
                  seed,
              )
          except Exception as e:
              print(f"Error: {e}")
              continue
  
file_path: autogen/autogen/agentchat/contrib/llava_agent.py
imports: import json
  import logging
  import os
  import pdb
  import re
  from typing import Any, Dict, List, Optional, Tuple, Union
  import replicate
  import requests
  from regex import R
  from autogen.agentchat.agent import Agent
  from autogen.agentchat.contrib.img_utils import get_image_data, llava_formatter
  from autogen.agentchat.contrib.multimodal_conversable_agent import MultimodalConversableAgent
  from autogen.code_utils import content_str
label_desc: Use image node_id 2 for calling a global function with example usage: llava_call_binary(prompt, images, config_list, max_new_tokens, temperature, seed) and returns: _llava_call_binary_with_config