fixed parallel logging

This commit is contained in:
ValueOn AG 2026-01-06 18:29:15 +01:00
parent c3dce9221c
commit 9cd990e6a6

View file

@ -1571,7 +1571,7 @@ class StructureFiller:
chapterIndex=0, # Not used for sequential logic anymore chapterIndex=0, # Not used for sequential logic anymore
totalChapters=totalChapters, totalChapters=totalChapters,
chapterId=taskInfo["chapterId"], chapterId=taskInfo["chapterId"],
chapterOperationId=f"{fillOperationId}_chapter_{taskInfo['chapterId']}", chapterOperationId=fillOperationId, # Use fillOperationId as parent (no chapter-level ops in parallel mode)
fillOperationId=fillOperationId, fillOperationId=fillOperationId,
contentParts=contentParts, contentParts=contentParts,
userPrompt=userPrompt, userPrompt=userPrompt,