AI Creating empty lines

For some reason it always does these useless empty lines and then go: Instead ill try something else instead because it failed to apply the code or whatever. It’s kinda annoying when it does this.