kylexrich / coursegpt

0 stars 2 forks source link

[Bug/Improvement] Newlines are lost when posting response from GPT #114

Open kylexrich opened 1 year ago

kylexrich commented 1 year ago

For longer responses, it would be super helpful to keep the newlines that GPT responds with, rather than throwing a crazy long block of text at the user.

When I print the GPT response in the console (inside the controller, before sending to the frontend) , it is properly formatted with the newlines. It is not formatted in the frontend.

I think this is a low-effort, very high value fix we can implement before demo.

@ajo01 are you able to take this on before our meeting on Tuesday? If not, no worries!

KyleRich 2023-07-15 at 17 16 24@2x

ajo01 commented 1 year ago

@kylexrich i'll try to start on it soon, as soon as I resolve the issue with coursegpt not answering me

kylexrich commented 1 year ago

@ajo01 dont worry about this for now! Check Slack