This will fix the core of the regression:
https://github.com/discourse/discourse-ai/pull/993
It comes though we a side effect @Jagster , we stopped sending English examples a while back, now we will be sending them again. Let us know if this impacts you.
That said @Roman this does not make sense to me:
SANITIZE_REGEX_STR =
%w[term context topic replyTo input output result]
.map { |tag| "<#{tag}>\\n?|\\n?</#{tag}>" }
.join("|")
Should it not be:
(item is for title suggestions, but maybe its taking a different path)
SANITIZE_REGEX_STR =
%w[output item]
.map { |tag| "<#{tag}>\\n?|\\n?</#{tag}>" }
.join("|")