Typebot adds unnecessary linebreaks to OpenAI assistant messages
Issue one: between paragraphs within one chat bubble seem to have too many line breaks
Issue two: these breaks seem to stack on bulleted and numbered lists
See attached screenshot for reference.
The problem seems not to be connected to the version of GPT. I tested it with gpt-4-turbo-preview and gpt-3.5-turbo. Both show the same issue.

18 Replies
Unknown Userβ’15mo ago
Message Not Public
Sign In & Join Server To View
Typebot seems to add linebreaks to the Message that's received from OpenAI. So my expectation is: Typebot should not add any additional linebreaks.
Unknown Userβ’15mo ago
Message Not Public
Sign In & Join Server To View
I notice this to when the output includes a space with a bulleted list it doubles the spaces
Are you using Mistel? Or open AI
NVM I see open AI
Mistral is the same way
If you look at the output you will see it adds a space for evert new line getting longer and longer of spacing between entries
1
2
3
4
@CptPlastic
I am using the OpenAI Assistant Integration
@Vilela Ok. I will do that and come back when I did. Thanks!
@Vilela
I made a console log. The log looks clean. The output doesn't. It seems there are a couple of unnecessary span elements created. I made screenshots for everything: console output, rendered html, and html view:



And the config of my openai module

Unknown Userβ’15mo ago
Message Not Public
Sign In & Join Server To View
I have Version 2.22.0. Seems to be up to date.
You mean I copy from console and paste here to discord?
Unknown Userβ’15mo ago
Message Not Public
Sign In & Join Server To View
It seems that this commit you mentioned is not part of the typebot Github release 2.22.0. So I guess I don't have it. I use Cloudron so I have to wait until the next release I guess.
Sure, here are three fun UX things: 1. User Persona Mad Libs: This activity involves filling out a Mad Libs-style template to create fictional user personas. It's a playful way to understand different user characteristics and needs, and it can spark creativity in designing user-centered experiences. 2. UX Escape Room: Imagine an escape room where participants have to navigate through different user experience challenges and puzzles. It's a fun and interactive way to test and improve your UX skills while working as a team. 3. Design Critique Roulette: Gather a group of designers and take turns critiquing each other's designs in a fun and light-hearted way. It encourages constructive feedback, collaboration, and facilitates learning from different perspectives. These activities aim to make UX more enjoyable while fostering creativity, collaboration, and learning. ππLike this?
I use cloudron also
Unknown Userβ’15mo ago
Message Not Public
Sign In & Join Server To View
I just assumed it was all part of the same releases and cloudron just updated when a new release came out but. Sorry about that, makes since now that the commit is not part of the release we are on.
I see. I tried what you did. And I still have the additional linebreaks. So we just wait until the commit is part of the next release. Good to know that there is nothing wrong with my setup. π
Thanks for checking!
Indeed, that's problematic. I'll release a new version now.
Deploying v2.22.1 now
Awesome. I saw it on Github! Thanks!! π I guess itβs available on Cloudron shortly.
cloudron built a new version about 3hr after the new release so its there now.