thgl
(Thomas Glaser)
3 Junho , 2026 13:22
1
Percebi que o Assistente de IA para sugestão de tags pode fazer recomendações que não são permitidas dentro da categoria selecionada.
Por exemplo, aqui estou tentando publicar em uma categoria que não permite as tags pergunta/discussão:
Na verdade, posso até selecioná-la, mas não enviá-la:
Se eu tentar adicionar a mesma tag manualmente, ela é corretamente identificada como restrita:
Comportamento Esperado
Acho que faz mais sentido se o Assistente de IA respeitasse as restrições das tags ou grupos de tags, sugerindo apenas aquelas permitidas dentro da categoria atualmente selecionada.
2 Curtiram
Obrigado pelo relatório @thgl - Vou dar uma olhada
3 Curtiram
Será corrigido assim que for revisado , mesclado e implantado
main ← fix-ai-tag-suggestions-category-restrictions
opened 04:04PM - 03 Jun 26 UTC
Previously, the AI helper's tag suggester could recommend tags the selected cate… gory doesn't allow — it filtered candidates only by tag visibility and was never told the composer's category, so a user could pick a suggestion they then couldn't submit (while adding the same tag manually was correctly blocked).
This change routes the suggested tags through the same `DiscourseTagging.filter_allowed_tags` rules the tag chooser and topic-save validation use, scoped to the selected category and already-selected tags, so only submittable tags are suggested.
Meta: https://meta.discourse.org/t/ai-helper-can-suggest-tags-not-allowed-in-category/404423
3 Curtiram
thgl
(Thomas Glaser)
3 Junho , 2026 16:08
5
Uau, foi um conserto rápido Obrigado
2 Curtiram