Assistant responds with <ol> elements

There is a problem when the Assistant responds with < ol > elements. For example, when you want to list steps for a recipe or exercise. A syntax error occurs within the JSON and this prevents me from sending it to a chat. The error in the browser console says: “SyntaxError: Bad control character in string literal in JSON…”

I have tried without luck giving the Assistant this instruction:
VERY IMPORTANT: Do not use “Ordered List” with < ol > elements, use plain text to describe the steps. Do not use characters that can alter the JSON code and cause syntax errors.

I encountered a similar issue. I gave the Assistant the instruction: “Please respond only with JSON content, I only need JSON formatted responses.” This mostly solved my problem. Hope this helps you!

1 Like