Files
FranckyB-ComfyUI-Prompt-Man…/py
sophosympatheia 4459c270c2 Fix mmproj discovery to recurse into subfolders and match same-folder files
get_mmproj_path()'s heuristic search used os.listdir(models_dir), so mmproj
files placed in a model's own subfolder were never found. It also required
>= 4 shared non-quant keywords between model and mmproj filenames, which
fails for generically-named files like 'mmproj-BF16.gguf' that carry no
identifying keywords at all.

Add a same-folder fallback: if the model's directory contains exactly one
mmproj file, use it without requiring any naming convention. Keep the
keyword heuristic as a fallback for mmproj files that live elsewhere, and
make that search recurse into subfolders too.
2026-08-03 21:21:43 -07:00
..
2026-03-31 23:16:02 -04:00