Just to clarify, you’re getting responses like this:
[USER]: Hello
[AI]:
Hi!
instead of:
[USER]: Hello
[AI]: Hi!
?
If so, I’ve had the same issue. I recommend the .strip()
string method in Python that removes whitespaces on either end of a given string