Relax timeline coverage and add prompt diagnostics

This commit is contained in:
ukr8b3g-cmyk
2026-08-15 13:10:34 +09:00
parent ec197341ef
commit 23b686e582
6 changed files with 161 additions and 30 deletions
+2 -2
View File
@@ -202,14 +202,14 @@ def validate_reference_audio_prompts(
)
for value in unavailable:
warnings.append(
f"Warning: prompt references unavailable <Audio {value}>; only "
f"H3C-P102 Warning: prompt references unavailable <Audio {value}>; only "
f"{active_count} active reference audio item(s) reached the Sampler. "
"Core-compatible generation will continue; the tag may be ignored "
"or hallucinated."
)
if source is not None and 1 not in found:
warnings.append(
"Reference Audio 1 is connected but the prompt contains no <Audio 1> "
"H3C-P103 Warning: Reference Audio 1 is connected but the prompt contains no <Audio 1> "
"tag; audio still conditions generation, but an explicit tag is recommended."
)
return "\n".join(warnings)