mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-05-07 00:46:44 -03:00
New endpoint: GET /api/lm/check-models-exist?modelIds=1,2,3,... Accepts comma-separated modelIds, returns a results array with one entry per modelId. Uses a single scanner lookup batch - three service-registry calls total, regardless of model count. Skips history checks entirely (same rationale as the singleton endpoint: when models exist locally, history is redundant). Expected: reduces 231 HTTP round-trips to 1 for the browser extension's model-card indicator flow. Combined with the prior SQLite-connection and history-skip fixes, total wall-clock time for a 175K-lora user's page load drops from ~9.4s to <10ms.
5.2 KiB
5.2 KiB