code: def get_model_info(token, model):
      try:
          headers = {"Authorization": f"Bearer {token}"}
          response = requests.get(
              "https://api.together.xyz/models/info", headers=headers
          )
          if response.status_code == 200:
              model_info = response.json()
              for m in model_info:
                  if m["name"].lower().strip() == model.strip():
                      return m["config"].get("prompt_format", None), m[
                          "config"
                      ].get("chat_template", None)
              return None, None
          else:
              return None, None
      except Exception as e:  # safely fail a prompt template request
          return None, None
  
imports: from enum import Enum
  import requests, traceback
  import json
  from jinja2 import Template, exceptions, Environment, meta
  from typing import Optional, Any
label_desc: Use image node_id 13 for calling a global function with example usage: get_model_info(token, model) and returns: None,  None, None,  None, None,  None, m,  m