From d50719e1a76c06f5a6005bffe43d111adade42af Mon Sep 17 00:00:00 2001 From: Towsty Date: Fri, 4 Sep 2026 15:53:09 -0500 Subject: [PATCH] Declare inflightFresh used by fresh LoRA cache loads. Co-authored-by: Cursor --- server/utils/loras.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/utils/loras.ts b/server/utils/loras.ts index d79d2cf..f7c9756 100644 --- a/server/utils/loras.ts +++ b/server/utils/loras.ts @@ -43,6 +43,7 @@ type LoraCache = { let cache: LoraCache | null = null let inflight: Promise | null = null +let inflightFresh = false function uniqueNames(values: unknown[]) { const seen = new Set()