0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/plugins/discourse-ai/spec
Gabriel Grubba cc14e6e402
FEATURE: Add AI agent suspend/silence tools with inline approval review (#41497)
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>
2026-07-10 10:59:51 -03:00
..
configuration FEATURE: Provider-native built-in tools for agents (web search) (#40809) 2026-06-16 14:37:51 -03:00
db/migrate FEATURE: Add category scope for AI translations (#41585) 2026-07-10 09:39:20 +08:00
evals DEV: Update models in config and the DE runner (#41082) 2026-06-22 21:29:07 +08:00
fabricators FEATURE: add cost limits to LLM quotas (#41277) 2026-06-30 15:59:24 +10:00
fixtures DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
integration DEV: Tidy plugin API key scope resource names (#38640) 2026-03-17 13:03:42 +11:00
jobs FEATURE: Add category scope for AI translations (#41585) 2026-07-10 09:39:20 +08:00
lib FEATURE: Add AI agent suspend/silence tools with inline approval review (#41497) 2026-07-10 10:59:51 -03:00
models FEATURE: Add AI agent suspend/silence tools with inline approval review (#41497) 2026-07-10 10:59:51 -03:00
reports
requests FEATURE: Add category scope for AI translations (#41585) 2026-07-10 09:39:20 +08:00
serializers FEATURE: retry transient and rate-limited LLM completion requests (#41237) 2026-06-30 09:45:26 +10:00
services DEV: Fix a flake in credit_status_checker_spec (#40092) 2026-05-16 18:46:01 +02:00
shared/inference DEV: Make persona image tools platform agnostic (#36195) 2025-11-26 09:36:24 -08:00
support DEV: Add DiscourseAi.register_feature public API (#39127) 2026-05-12 10:16:07 +08:00
system FEATURE: Add category scope for AI translations (#41585) 2026-07-10 09:39:20 +08:00
tasks DEV: Fix deprecations in plugins specs and silence output (#39257) 2026-04-15 00:00:46 +02:00
plugin_helper.rb DEV: Fix tags_locale_detection_backfill spec flakes (#39553) 2026-04-27 10:45:04 +02:00
plugin_spec.rb DEV: Remove deprecated AI plugin settings (#37459) 2026-02-03 05:39:38 -08:00