Priority/Severity:
Low
Platform
Operating System
Windows 11
Browser
Google Chrome
Discourse
31ed2620caa780c941c6cff2a8ecaeffcbdbb14b
Description:
Discourse AI spam detection has a useful “test” feature which allows the site admin to manually trigger a scan of a specific post. The result of the scan is then shown. This is essential for refining the “custom instructions” to reduce the frequency of false positives and negatives.
The content that should be present at the end of the scan logs is frequently cut off.
Frustratingly, the scan logs always contain the entirety of the useless repetition of the custom instructions and post content, but the actually valuable part of the logs is incomplete.
Reproducible steps:
- Log into a forum where you have admin privileges.
- Open the
/admin/plugins/discourse-ai/ai-spam
page. - Click the “Test…” button.
The “Test spam detection” dialog will open. - Enter the URL or ID of a post on the forum into the “Post URL or ID” field in the dialog.
- Click the “Run test” button.
The last part of the logs content where the AI explains its reasoning may be cut off.
For example:
[...] While the post *content* itself isn',t overtly promotional or nonsensical—it appears to
Additional context
I am experiencing the problem on forum.arduino.cc
(Enterprise hosting plan), which is using the “CDCK Hosted Small LLM” LLM.