Possibly fixed the broken continuity?

This commit is contained in:
aimfordeb
2026-02-23 02:53:24 +02:00
committed by GitHub
parent 41bf991268
commit 0243bbdbd6
+4 -3
View File
@@ -754,6 +754,9 @@ class FunPackStoryWriter:
)
seq_text = llm_tokenizer.decode(generated_ids[0][llm_tokens['input_ids'].shape[1]:], skip_special_tokens=True).strip()
# Append generated sequence — this is what chains everything
messages.append({"role": "assistant", "content": seq_text})
if sanity_check == False:
print(f"[FunPackStoryWriter] Sequence {seq_idx + 1} (sanity check skipped): {seq_text}...")
@@ -807,9 +810,6 @@ class FunPackStoryWriter:
print(f"[FunPackStoryWriter] Sequence {seq_idx + 1} (sanity check performed): {seq_text}...")
outputs[seq_idx] = seq_text
# Append generated sequence — this is what chains everything
messages.append({"role": "assistant", "content": seq_text})
return tuple(outputs)
@@ -1479,5 +1479,6 @@ NODE_DISPLAY_NAME_MAPPINGS = {