Skip to content

Commit

Permalink
disable spam-ai, this is bad
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Oct 12, 2023
1 parent 66bc19f commit e07d69a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ func main() {
log.Fatalf("[ERROR] failed to read spam samples file %s, %v", opts.SpamFilter.Samples, err)
}
spamReaderLocal := bytes.NewReader(spamContent)
spamReaderAI := bytes.NewReader(spamContent)
// spamReaderAI := bytes.NewReader(spamContent)
multiBot = append(multiBot,
bot.NewSpamLocalFilter(spamReaderLocal, opts.SpamFilter.Threshold, opts.SuperUsers, opts.SpamFilter.Dry),
bot.NewSpamOpenAIFilter(spamReaderAI, openAIBot, opts.OpenAI.MaxSymbolsRequest, opts.SuperUsers, opts.SpamFilter.Dry),
// bot.NewSpamOpenAIFilter(spamReaderAI, openAIBot, opts.OpenAI.MaxSymbolsRequest, opts.SuperUsers, opts.SpamFilter.Dry),
)
}
} else {
Expand Down

0 comments on commit e07d69a

Please sign in to comment.