code: def record_results(id_task, res):
      recorded_results.append((id_task, res))
      if len(recorded_results) > recorded_results_limit:
          recorded_results.pop(0)
  
file_path: stable-diffusion-webui/modules/progress.py
imports: import base64
  import io
  import time
  import gradio
  from pydantic import BaseModel, Field
  from modules.shared import opts
  import modules.shared
label_desc: Use image node_id 3 for calling a global function with example usage: record_results(id_task, res) without return types