A platform for community discussion. Free, open, simple.
FIX: allow AI tagging automation to tag posts by bots (#35310)
Kris7b3ac3453b98
diff --git a/plugins/discourse-ai/discourse_automation/llm_tagger.rb b/plugins/discourse-ai/discourse_automation/llm_tagger.rbindex 91090c1abf8..a863217001f 100644--- a/plugins/discourse-ai/discourse_automation/llm_tagger.rb+++ b/plugins/discourse-ai/discourse_automation/llm_tagger.rb@@ -54,7 +54,7 @@ if defined?(DiscourseAutomation)script do |context, fields|post = context["post"]- next if post&.user&.bot?+ next if post&.user&.bot? && !fields.dig("allow_system_posts", "value")next if post.post_number != 1