mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-06-19 01:05:17 +08:00
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>
35 lines
803 B
YAML
Vendored
35 lines
803 B
YAML
Vendored
plugins:
|
|
discourse_workflows_enabled:
|
|
default: false
|
|
client: true
|
|
hidden: true
|
|
discourse_workflows_ai_authoring_enabled:
|
|
default: false
|
|
client: true
|
|
hidden: true
|
|
discourse_workflows_ai_authoring_max_prompt_length:
|
|
default: 4000
|
|
min: 1
|
|
max: 20000
|
|
hidden: true
|
|
discourse_workflows_ai_authoring_rate_limit_per_minute:
|
|
default: 10
|
|
min: 1
|
|
max: 100
|
|
hidden: true
|
|
discourse_workflows_max_executions_per_minute:
|
|
default: 20
|
|
hidden: true
|
|
discourse_workflows_max_executions_per_minute_per_workflow:
|
|
default: 10
|
|
hidden: true
|
|
workflow_executions_retention_days:
|
|
default: 30
|
|
min: 0
|
|
max: 36500
|
|
hidden: true
|
|
discourse_workflows_max_pin_data_bytes:
|
|
default: 1048576
|
|
min: 0
|
|
max: 16777216
|
|
hidden: true
|