Update funpack.py

This commit is contained in:
aimfordeb
2026-01-23 21:56:26 +02:00
committed by GitHub
parent 2d4523b373
commit 15b533feed
+2 -1
View File
@@ -694,7 +694,7 @@ class FunPackStoryWriter:
# ── Now generate sequences — only add new instruction + append output ─────
for seq_idx in range(prompt_count):
# Add **only** the fresh sequence instruction each time
messages.append({"role: "system", "content": f"""You are now generating sequence ID {sed_idx +1} (out of total {prompt_count} sequences)"""}
messages.append({"role: "system", "content": f"""You are now generating sequence ID {sed_idx +1} (out of total {prompt_count} sequences)"""})
messages.append({"role": "user", "content": sequence_system_prompt})
llm_tokens = llm_tokenizer.apply_chat_template(
@@ -1404,5 +1404,6 @@ NODE_DISPLAY_NAME_MAPPINGS = {