Route pair metadata structurally

This commit is contained in:
2026-06-27 15:13:31 +02:00
parent 728d3e559c
commit e7bc227c6f
6 changed files with 35 additions and 6 deletions
+7
View File
@@ -698,6 +698,13 @@ Important POV rule:
## Formatter Routes
Formatter metadata input is normalized by `formatter_input.py`. Pair routing is
structural: metadata with both a softcore side and a hardcore side
(`softcore_row`/`hardcore_row` or root soft/hard prompt/caption fields) is
treated as pair metadata even if the UI `mode` label is absent. Krea2, SDXL, and
caption routes share this detection to avoid hidden drift between formatter
paths.
### Krea2
`format_krea2_prompt` chooses between three roads: