How to remove the first empty row that is returned in the response

Why is it that whenever an instruction is performed, the response always includes the first empty row? How can this be avoided without involving programming

What model and prompt style are you using?

If you are talking about ChatGPT as you categorized the topic, there is no “empty row” (linefeed before beginning output)

image

If you are using ChatGPT to write API code for you, it probably gave an obsolete model and you are providing it a poor input. On a completion model, you can put the extra carriage returns it might produce into the input and not get them in the output.