Remove pronouns from character helper

This commit is contained in:
2026-08-14 13:17:45 +00:00
parent 21a4d788ed
commit 730e957705
3 changed files with 2 additions and 20 deletions
+2 -2
View File
@@ -28,10 +28,10 @@
- Reads back the seven optional images for a selected MiniMax H3 plan scene, for example by connecting the current `clip_index`.
- `Dumas Character Helper`
- Inputs: `image1`, `image2`, `image1_picture_id`, `image2_picture_id`, `character_id`, `name`, `alias`, `pronouns`, `age`, `nationality`, `occupation`, `height_feet`, `height_inches`, `accent`, `general`
- Inputs: `image1`, `image2`, `image1_picture_id`, `image2_picture_id`, `character_id`, `name`, `alias`, `age`, `nationality`, `occupation`, `height_feet`, `height_inches`, `accent`, `general`
- Outputs: `image1`, `image2`, `character_text`
- Passes both images through unchanged and builds a character reference string such as `<Picture 2> and <Picture 3> reference the same character who is called Dave.`
- Appends optional sentences for non-visual facts such as ID, alias, pronouns, age, nationality, occupation, height, accent, and freeform notes only when those fields are valid and filled in.
- Appends optional sentences for non-visual facts such as ID, alias, age, nationality, occupation, height, accent, and freeform notes only when those fields are valid and filled in.
- `Dumas JSON String to Object`
- Input: `json_string`
-15
View File
@@ -316,7 +316,6 @@ def _build_character_helper_text(
character_id,
name,
alias,
pronouns,
age,
nationality,
occupation,
@@ -330,7 +329,6 @@ def _build_character_helper_text(
character_name = _normalize_free_text(name)
character_id = _normalize_free_text(character_id)
alias = _normalize_free_text(alias)
pronouns = _normalize_free_text(pronouns)
nationality = _normalize_free_text(nationality)
occupation = _normalize_free_text(occupation)
accent = _normalize_free_text(accent)
@@ -366,9 +364,6 @@ def _build_character_helper_text(
if alias:
lines.append(f"{character_label} is also known as {alias}.")
if pronouns:
lines.append(f"{character_label} uses {pronouns} pronouns.")
if age_value is not None:
lines.append(f"{character_label} is {age_value} years old.")
@@ -853,14 +848,6 @@ class DumasCharacterHelperNode:
"tooltip": "Optional alternate name, codename, or nickname.",
},
),
"pronouns": (
"STRING",
{
"default": "",
"multiline": False,
"tooltip": "Optional pronouns such as he/him or she/her.",
},
),
"age": (
"STRING",
{
@@ -927,7 +914,6 @@ class DumasCharacterHelperNode:
character_id,
name,
alias,
pronouns,
age,
nationality,
occupation,
@@ -942,7 +928,6 @@ class DumasCharacterHelperNode:
character_id,
name,
alias,
pronouns,
age,
nationality,
occupation,
-3
View File
@@ -252,7 +252,6 @@ class DumasImageNodeTests(unittest.TestCase):
character_id="char_dave",
name="Dave",
alias="The Locksmith",
pronouns="he/him",
age="41",
nationality="English",
occupation="a detective",
@@ -272,7 +271,6 @@ class DumasImageNodeTests(unittest.TestCase):
"<Picture 3> is a frontal facial reference for Dave.\n"
'The character ID string is "char_dave".\n'
"Dave is also known as The Locksmith.\n"
"Dave uses he/him pronouns.\n"
"Dave is 41 years old.\n"
"Dave is English.\n"
"Dave works as a detective.\n"
@@ -295,7 +293,6 @@ class DumasImageNodeTests(unittest.TestCase):
character_id="",
name="",
alias="",
pronouns="",
age="unknown",
nationality="",
occupation="",