OpenAI API Line Break Issue

Feedback

Hey Guys!

I need some help. When my user chats to my AI assistant everything works well when there is not a linebreak. However, when the user adds a linebreak to the prompt, the chat will fail which is due to the fact that the api call cant parse the linebreak. Any idea on how to fix this?

2 replies