Skip to content

Commit

Permalink
Update indexer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
serefyarar committed Jun 27, 2024
1 parent 569948a commit 0adc761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/libs/indexer.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,10 @@ class Indexer {
return;
}
message.conversation = conversation;
console.log(message, `tata`);

if (
message.role === `user` &&
message &&
message.role === `user` &&
message.content &&
message.content.length > 0
) {
Expand Down

0 comments on commit 0adc761

Please sign in to comment.