mirror of
https://github.com/discourse/discourse.git
synced 2026-08-07 13:19:19 +08:00
Previously, AI agents had no way to suspend or silence users, and approving any moderation tool action meant leaving the conversation for the `/review` queue. This change adds `suspend_user`/`silence_user` tools that always require moderator approval, and lets moderators approve or reject those actions from an inline review card right in the bot conversation — credited to the approving moderator (not the bot) in the staff action log — instead of switching to the `/review` queue. Demo of this feature: https://github.com/user-attachments/assets/b9605511-e53d-483d-b435-b212694cdf53 https://github.com/user-attachments/assets/383bda5d-93ee-4758-a51e-6162ea0d57ee --------- Co-authored-by: Penar Musaraj <pmusaraj@gmail.com> |
||
|---|---|---|
| .. | ||
| artifact_update_strategies | ||
| tool_runner | ||
| tools | ||
| admin_dashboard_highlights.rb | ||
| agent.rb | ||
| artist.rb | ||
| bot.rb | ||
| bot_context.rb | ||
| chat_thread_titler.rb | ||
| concept_deduplicator.rb | ||
| concept_finder.rb | ||
| concept_matcher.rb | ||
| content_creator.rb | ||
| creative.rb | ||
| custom_prompt.rb | ||
| designer.rb | ||
| discourse_helper.rb | ||
| discover.rb | ||
| emotion_classifier.rb | ||
| forum_researcher.rb | ||
| general.rb | ||
| github_helper.rb | ||
| image_captioner.rb | ||
| locale_detector.rb | ||
| markdown_table_generator.rb | ||
| post_illustrator.rb | ||
| post_raw_translator.rb | ||
| proofreader.rb | ||
| report_runner.rb | ||
| researcher.rb | ||
| sentiment_classifier.rb | ||
| settings_explorer.rb | ||
| short_summarizer.rb | ||
| short_text_translator.rb | ||
| smart_dates.rb | ||
| spam_detector.rb | ||
| sql_helper.rb | ||
| summarizer.rb | ||
| titles_generator.rb | ||
| tool_runner.rb | ||
| topic_title_translator.rb | ||
| translator.rb | ||
| tutor.rb | ||
| web_artifact_creator.rb | ||