Change: skip documents with empty content in apply AI suggestions WF (#13985)

This commit is contained in:
shamoon
2026-09-07 21:56:37 +00:00
committed by GitHub
parent f5ff18326d
commit 937feb1bef
3 changed files with 45 additions and 1 deletions
+2 -1
View File
@@ -684,7 +684,8 @@ It requires [AI features](configuration.md#ai) to be enabled. You can specify:
never replace the document's existing tags.
The action works with every trigger **except Consumption Started**, because suggestions are made from
the document's text, which does not exist until after the document has been processed.
the document's text, which does not exist until after the document has been processed. Documents whose
processed text is empty or contains only whitespace are skipped.
Because the query to the AI service is slow, the action is queued and runs in the background rather
than as part of the workflow run itself. The document is updated once the suggestions come back.