code: def summary_model_completion_fn() -> Callable[[list[dict]], dict]:
      return lambda messages: openai_chatcompletion_create(
          model="gpt-4",
          messages=messages,
      )
  
file_path: evals/evals/elsuite/make_me_pay/makemepay_test.py
imports: from typing import Callable, Optional
  import pytest
  from evals.elsuite.make_me_pay.makemepay import detect_donation, generate_reply_for
  from evals.elsuite.make_me_pay.task_description import SUMMARY_TASK_DESCRIPTION, task_description_dict
  from evals.elsuite.make_me_pay.utils import openai_chatcompletion_create
  from evals.solvers.solver import SolverResult
label_desc: Use image node_id 1 for calling a global function with example usage: summary_model_completion_fn() and returns: function