mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-09-20 18:51:26 -03:00
f0ee30fc68
The tags instruction demanded "all lowercase, no spaces, no hyphens" with single-word examples. That clause arrived in the same commit that added the priority_tags cross-reference, so it reads as a crude way of pushing the model towards that (entirely single-word) vocabulary rather than as a requirement in its own right — and nothing in the codebase depends on it: * `_merge_tags` only lowercases and de-duplicates; * `resolve_priority_tag` matches aliases exactly, and the priority config syntax already supports multi-word entries and aliases; * the tag FTS index tokenises on non-alphanumerics, so a hyphenated tag is indexed as two tokens and stays searchable; * tags never reach a ComfyUI prompt — that is `trainedWords`. It also fought the priority_tags rule it was meant to support. Handed the site-curated `character-enhancement`, satisfying both rules produced `character` as well; the run added generic priority-list tags and dropped the site's own wording. The spelling used by the site, the frontmatter or the author is now kept verbatim — hyphenated, multi-word or non-Latin — and no separator-free synonym is invented for a tag already included. Measured on a Krea 2 portrait LoRA, the proposal went from nine tags (four of them generic priority-list words) to six grounded ones.