Update funpack.py

This commit is contained in:
aimfordeb
2026-01-23 21:58:23 +02:00
committed by GitHub
parent 15b533feed
commit d870ecfa75
+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"""This sequence's ID is {seq_idx + 1} out of total {prompt_count} sequences requested."""})
messages.append({"role": "user", "content": sequence_system_prompt})
llm_tokens = llm_tokenizer.apply_chat_template(
@@ -1405,5 +1405,6 @@ NODE_DISPLAY_NAME_MAPPINGS = {