Fix LoRA folder drops not appearing without weakening engine filters.

Stop empty Comfy blips from freezing the LoRA cache timestamp, and refresh the picker list from Comfy on each poll. Engine tagging (flux/krea) and xaigen platform filtering stay as they were.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-09-04 15:52:31 -05:00
co-authored by Cursor
parent 10910677d0
commit 06e40793db
4 changed files with 37 additions and 14 deletions
+1 -1
View File
@@ -760,7 +760,7 @@ async function forceResetGpu() {
async function loadLoraKeys() {
loraRowsLoading.value = true
try {
const listed = await $fetch<{ image?: string[]; video?: string[] }>('/api/loras').catch(() => ({ image: [], video: [] }))
const listed = await $fetch<{ image?: string[]; video?: string[] }>('/api/loras?fresh=1').catch(() => ({ image: [], video: [] }))
const library = await $fetch<{
loraAliases?: Record<string, string>
loraTriggers?: Record<string, string>