diff --git a/api/src/libs/indexer.js b/api/src/libs/indexer.js index 37b9a68a..bd2826ae 100644 --- a/api/src/libs/indexer.js +++ b/api/src/libs/indexer.js @@ -378,6 +378,7 @@ class Indexer { console.log(message, `tata`); if ( message.role === `user` && + message && message.content && message.content.length > 0 ) {