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
+3 -2
View File
@@ -1,7 +1,8 @@
import { listStudioLoras } from '~/server/utils/loras'
export default defineEventHandler(async () => {
const listed = await listStudioLoras()
export default defineEventHandler(async (event) => {
const fresh = String(getQuery(event).fresh || '') === '1'
const listed = await listStudioLoras({ fresh })
return {
image: listed.image,
video: listed.video