Passing prompt + text to ChatGPT - Prompt + ###Text###

I use the following code snippet to pass my prompt and text to ChatGPT:

const prompt = "Prompt";
const { data } = await openai.post("chat/completions", {
  model: "gpt-4o",
  temperature: 0.9,
  max_tokens: 1024,
  messages: [
    { role: "system", content: prompt }, 
    { role: "user", content: popclip.input.text }
  ]

Is it possible to send the text in the following format?

prompt

Text:
###
popclip.input.text
###

I think this is a case where you are best making your own custom version of the extension to achieve the precise format you want. It should be a simple modifation, let me know if you’d like any pointers on how to do it.