Skip to content

Commit

Permalink
include TODO comments for elizaOS#408
Browse files Browse the repository at this point in the history
Added TODO comments for elizaOS#408 to review and update the `totalMessages` logic.
  • Loading branch information
DanielHighETH committed Nov 18, 2024
1 parent 9a8ac90 commit 4050daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-bootstrap/src/providers/boredom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ const boredomProvider: Provider = {
const recentUsers = Array.from(recentUserActivity);

// penalty for repetitive recent interactions
// probably change totalMessages value
// TODO (#408): change totalMessages value
if (recentUsers.length <= 2 && recentMessages.length > 10) {
boredomScore += 1;
}
Expand All @@ -346,7 +346,7 @@ const boredomProvider: Provider = {
0
);

// probably change totalMessages value
// TODO (#408): change totalMessages value
if (totalMessages > 10) {
boredomScore += 1;
}
Expand Down

0 comments on commit 4050daf

Please sign in to comment.