From 15b533feedd6a6478fceeda2358475b7a4b393ab Mon Sep 17 00:00:00 2001 From: aimfordeb <133010426+aimfordeb@users.noreply.github.com> Date: Fri, 23 Jan 2026 21:56:26 +0200 Subject: [PATCH] Update funpack.py --- funpack.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/funpack.py b/funpack.py index c751de18..d1dfb671 100644 --- a/funpack.py +++ b/funpack.py @@ -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 = { +