code: def default_pt(messages):
      return " ".join(message["content"] for message in messages)
  
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 1 for calling a global function with example usage: default_pt(messages) and returns: str