Go to file
Sam 40fa527633
FIX: cross talk when in ai helper (#1478)
Previous to this change we reused channels for proofreading progress and
ai helper progress

The new changeset ensures each POST to stream progress gets a dedicated
message bus channel

This fixes a class of issues where the wrong information could be displayed
to end users on subsequent proofreading or helper calls

* fix tests

* fix implementation (got to subscribe at 0)
2025-07-01 18:02:16 +10:00
.github/workflows
admin/assets/javascripts/discourse FEATURE: Display bot in feature list (#1466) 2025-06-27 12:35:41 +10:00
app FIX: cross talk when in ai helper (#1478) 2025-07-01 18:02:16 +10:00
assets FIX: cross talk when in ai helper (#1478) 2025-07-01 18:02:16 +10:00
config UX: Fix typo in bot.description text (#1474) 2025-07-01 17:24:05 +10:00
db FEATURE: Use Persona's when scanning posts for spam (#1465) 2025-06-27 10:35:47 -03:00
discourse_automation
evals
lib FIX: cross talk when in ai helper (#1478) 2025-07-01 18:02:16 +10:00
public/ai-share FEATURE: persistent key-value storage for AI Artifacts (#1417) 2025-06-11 06:59:46 +10:00
spec FIX: cross talk when in ai helper (#1478) 2025-07-01 18:02:16 +10:00
svg-icons
test/javascripts FIX: cross talk when in ai helper (#1478) 2025-07-01 18:02:16 +10:00
tokenizers FEATURE: Add Qwen3 tokenizer and update Gemma to version 3 (#1440) 2025-06-17 10:25:03 -03:00
.discourse-compatibility DEV: Remove 'experimental' from translation features (#1439) 2025-06-19 12:23:56 +08:00
.gitignore
.npmrc
.prettierignore
.prettierrc.cjs
.rubocop.yml
.streerc
.template-lintrc.cjs
Gemfile
Gemfile.lock bump rack from 3.1.14 to 3.1.16 (#1408) 2025-06-24 12:42:22 +10:00
LICENSE
README.md
about.json
eslint.config.mjs
package.json
plugin.rb DEV: Use a PORO to represent modules/features. (#1421) 2025-06-10 14:37:53 -03:00
pnpm-lock.yaml
stylelint.config.mjs
translator.yml

README.md

Discourse AI Plugin

Plugin Summary

For more information, please see: https://meta.discourse.org/t/discourse-ai/259214?u=falco

Evals

The directory evals contains AI evals for the Discourse AI plugin. You may create a local config by copying config/eval-llms.yml to config/eval-llms.local.yml and modifying the values.

To run them use:

cd evals ./run --help

Usage: evals/run [options]
    -e, --eval NAME                  Name of the evaluation to run
        --list-models                List models
    -m, --model NAME                 Model to evaluate (will eval all models if not specified)
    -l, --list                       List evals

To run evals you will need to configure API keys in your environment:

OPENAI_API_KEY=your_openai_api_key ANTHROPIC_API_KEY=your_anthropic_api_key GEMINI_API_KEY=your_gemini_api_key