Refine character helper reference text

This commit is contained in:
2026-08-14 13:09:42 +00:00
parent 49cb16338d
commit 5fb0a12d8e
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -321,6 +321,7 @@ def _build_character_helper_text(
lines = [ lines = [
first_line, first_line,
f"<Picture {primary_picture}> is the primary full-body reference for {character_label}.", f"<Picture {primary_picture}> is the primary full-body reference for {character_label}.",
f"<Picture {secondary_picture}> is a frontal facial reference for {character_label}.",
] ]
if character_id: if character_id:
+3 -1
View File
@@ -264,6 +264,7 @@ class DumasImageNodeTests(unittest.TestCase):
( (
"<Picture 2> and <Picture 3> reference the same character who is called Dave.\n" "<Picture 2> and <Picture 3> reference the same character who is called Dave.\n"
"<Picture 2> is the primary full-body reference for Dave.\n" "<Picture 2> is the primary full-body reference for Dave.\n"
"<Picture 3> is a frontal facial reference for Dave.\n"
'The character ID string is "char_dave".\n' 'The character ID string is "char_dave".\n'
"Dave is 6'2\" tall.\n" "Dave is 6'2\" tall.\n"
"Dave has a northern English accent.\n" "Dave has a northern English accent.\n"
@@ -293,7 +294,8 @@ class DumasImageNodeTests(unittest.TestCase):
result[2], result[2],
( (
"<Picture 4> and <Picture 6> reference the same character.\n" "<Picture 4> and <Picture 6> reference the same character.\n"
"<Picture 4> is the primary full-body reference for the character." "<Picture 4> is the primary full-body reference for the character.\n"
"<Picture 6> is a frontal facial reference for the character."
), ),
) )