Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 09e5fc4

Browse files
DEV: Review fixes
1 parent 7bb9d6c commit 09e5fc4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spec/lib/modules/ai_moderation/spam_scanner_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,9 @@
300300

301301
described_class.new_post(post)
302302

303-
prompt = nil
304303
DiscourseAi::Completions::Llm.with_prepared_responses(["spam"]) do |_, _, _prompts|
305304
# force a rebake so we actually scan
306305
post.rebake!
307-
prompt = _prompts.first
308306
end
309307

310308
log = AiSpamLog.find_by(post: post)

0 commit comments

Comments
 (0)