mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-24 17:38:40 -06:00
correction in message formatting when generated by AI as markdown in typebot
This commit is contained in:
parent
e4b6f4ff0d
commit
4c3fb5e762
@ -572,7 +572,6 @@ export class TypebotService {
|
|||||||
for (const message of messages) {
|
for (const message of messages) {
|
||||||
if (message.type === 'text') {
|
if (message.type === 'text') {
|
||||||
let formattedText = '';
|
let formattedText = '';
|
||||||
console.log('message.content', message.content);
|
|
||||||
|
|
||||||
for (const richText of message.content.richText) {
|
for (const richText of message.content.richText) {
|
||||||
for (const element of richText.children) {
|
for (const element of richText.children) {
|
||||||
|
Loading…
Reference in New Issue
Block a user