discourse/plugins/discourse-ai/lib/completions
Sam 65024326dd
FEATURE: Add AI authoring to Discourse Workflows (#40504)
Previously, admins could only build Discourse Workflows by manually
adding and connecting every trigger, condition, and action node on the
canvas.

This change adds an AI authoring assistant, gated behind
`discourse_workflows_ai_authoring_enabled` and DiscourseAi, that turns a
natural-language request into a server-validated, reviewable workflow
patch the admin applies. It only ever proposes drafts and never
publishes.

---------

Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
Co-authored-by: Rafael Silva <xfalcox@gmail.com>
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2026-06-18 18:32:30 +02:00
..
dialects FEATURE: Provider-native built-in tools for agents (web search) (#40809) 2026-06-16 14:37:51 -03:00
endpoints FEATURE: Provider-native built-in tools for agents (web search) (#40809) 2026-06-16 14:37:51 -03:00
anthropic_message_processor.rb FEATURE: Add AI authoring to Discourse Workflows (#40504) 2026-06-18 18:32:30 +02:00
cancel_manager.rb DEV: Enable Style/RedundantBegin rubocop rule (#40096) 2026-05-19 18:44:54 +02:00
converse_message_processor.rb FEATURE: Add AI authoring to Discourse Workflows (#40504) 2026-06-18 18:32:30 +02:00
doc_to_text.rb FEATURE: extract text from document uploads for LLM prompts (#39634) 2026-05-05 08:16:23 +10:00
docx_to_text.rb FEATURE: extract text from document uploads for LLM prompts (#39634) 2026-05-05 08:16:23 +10:00
execution_context.rb FEATURE: add agentic execution mode for AI personas (#38230) 2026-03-05 15:06:54 +11:00
json_stream_decoder.rb DEV: Enable Style/RedundantParentheses rubocop rule (#40095) 2026-05-19 15:48:09 +02:00
json_streaming_parser.rb
json_streaming_tracker.rb FEATURE: Use evals to compare LLMs and Personas' prompts (#36027) 2025-11-18 10:39:52 -03:00
llm.rb FEATURE: Add AWS Bedrock Converse API provider (#38903) 2026-03-30 12:37:30 -03:00
llm_metric.rb DEV: Stop prometheus/ai spam in plugin backend specs (#39245) 2026-04-14 10:24:46 +02:00
llm_presets.rb DEV: Refresh default LLM presets and pricing (#39673) 2026-04-30 17:02:32 -03:00
native_tools.rb FEATURE: Provider-native built-in tools for agents (web search) (#40809) 2026-06-16 14:37:51 -03:00
nova_message_processor.rb FEATURE: Add AI authoring to Discourse Workflows (#40504) 2026-06-18 18:32:30 +02:00
ods_to_text.rb FEATURE: extract text from ODT and ODS document uploads (#39711) 2026-05-05 12:04:13 -03:00
odt_to_text.rb FEATURE: extract text from ODT and ODS document uploads (#39711) 2026-05-05 12:04:13 -03:00
open_ai_message_processor.rb FEATURE: Add AI authoring to Discourse Workflows (#40504) 2026-06-18 18:32:30 +02:00
open_ai_responses_message_processor.rb FEATURE: Add AI authoring to Discourse Workflows (#40504) 2026-06-18 18:32:30 +02:00
prompt.rb FEATURE: Provider-native built-in tools for agents (web search) (#40809) 2026-06-16 14:37:51 -03:00
prompt_messages_builder.rb FEATURE: Provider-native built-in tools for agents (web search) (#40809) 2026-06-16 14:37:51 -03:00
report.rb FIX: Improve AI report implementation (#40865) 2026-06-15 15:59:34 +10:00
rtf_to_text.rb FEATURE: extract text from document uploads for LLM prompts (#39634) 2026-05-05 08:16:23 +10:00
structured_output.rb FEATURE: support thinking summary on responses API (#36013) 2025-11-18 07:54:14 +11:00
thinking.rb FEATURE: support thinking summary on responses API (#36013) 2025-11-18 07:54:14 +11:00
token_usage_tracker.rb FEATURE: add agentic execution mode for AI personas (#38230) 2026-03-05 15:06:54 +11:00
tool_arguments_parser.rb FEATURE: Add AI authoring to Discourse Workflows (#40504) 2026-06-18 18:32:30 +02:00
tool_call.rb FEATURE: add support for tracking write tokens and anthropic caching and Gemini Pro 3 (#36113) 2025-11-21 07:42:54 +11:00
tool_definition.rb FEATURE: Add MCP server integration to AI agents (#38706) 2026-03-25 17:32:27 +11:00
tool_result.rb DEV: ToolResult#== returns nil instead of false for non-ToolResult comparisons (#37522) 2026-02-04 15:01:31 +08:00
upload_encoder.rb FEATURE: extract text from ODT and ODS document uploads (#39711) 2026-05-05 12:04:13 -03:00
xls_to_text.rb FEATURE: extract text from document uploads for LLM prompts (#39634) 2026-05-05 08:16:23 +10:00
xlsx_to_text.rb FEATURE: extract text from document uploads for LLM prompts (#39634) 2026-05-05 08:16:23 +10:00
xml_tag_stripper.rb
xml_tool_processor.rb