https://retellai.com/?utm_source=discord&utm_medium=seo logo
- We have deployed a "Retell Chat Agent" for a cli...
# ❓・ai-evy-support
e
@AI Evy - We have deployed a "Retell Chat Agent" for a client. Initially we were getting markdown formatting in chat response. So, we updated the prompt. Now, we dont have the mark down formatting, but the response does not proper formatting. If there are multiple options, then it just lays all of them in a paragraph instead of bullet points. How to fix it? https://cdn.discordapp.com/attachments/1302816169367044149/1414842159219081247/image.png?ex=68c109f1&is=68bfb871&hm=7d5663ec399a155ac50c942e33c9888ecf0d9451d6b5bec14a2cbf439f3ed3fd&
a
Thanks for tagging me @exuberant_papaya_60227. I'll look through relevant sources and get back to you shortly.
### Answer This is a known formatting issue with chat agents. Based on the sources, the agent may be generating proper formatting internally, but it's not displaying correctly in the interface [(1) ]() . To troubleshoot this issue, you should check the raw payload by using the get-chat API endpoint immediately after the agent responds . Inspect the
messages[].content
field - if you see
\n
or
<br>
characters, the agent is delivering the formatting correctly, but there's a rendering issue . The problem appears to be that while the agent generates structured responses with newlines, bullet points, and proper formatting (which can be seen in webhooks) , the chat interface displays it as one long string [(2) ]() . This suggests it's a rendering issue rather than a prompt engineering problem . Several users have reported trying various prompting techniques without success, including direct instruction with newlines, HTML tags, strict templating, and process-oriented prompting [(1) ]() . The issue persists despite these attempts, indicating it's likely a platform-specific rendering limitation rather than a prompt configuration issue . You can also test via webhook to confirm the response contains proper formatting before it reaches your display interface .
​ To learn more, see the sources I considered: [[1] Chat Agent : Formatting Issue: Agent Not Creating Vertical Lists / Line Breaks in Responses](https://discord.com/channels/1186424376300679209/1389801568467157042) [[2] Chatbot formatting issue](https://discord.com/channels/1186424376300679209/1410337496922984518) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.