Audit metadata prompt fallback boundaries

This commit is contained in:
2026-06-27 17:31:30 +02:00
parent 1950ce7bbf
commit c59c9947b2
4 changed files with 83 additions and 1 deletions
+1 -1
View File
@@ -398,7 +398,7 @@ def _style_phrase(row: dict[str, Any], style_mode: str) -> str:
if style_mode == "photographic":
return "realistic creator-shot photography with natural lighting, tactile skin and fabric detail, and clean social-media composition"
style = _clean(row.get("style"))
suffix = _clean(row.get("positive_suffix")) or _prompt_field(_clean(row.get("prompt")), "Use")
suffix = _clean(row.get("positive_suffix"))
if style and suffix:
return f"{style}; {suffix}"
return style or suffix