Keep library deletes when a still file is locked, and match LoRAs by engine folder.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -217,6 +217,8 @@ async function loadLoraCache(options: { fresh?: boolean } = {}): Promise<LoraCac
|
||||
|
||||
export async function listStudioLoras(options: { fresh?: boolean } = {}) {
|
||||
const xaigen = isXaigenStudio()
|
||||
// `fresh` hits Comfy /object_info so new files under models/loras/<site>/<engine>/ show up
|
||||
// without a restart. Names stay Comfy-relative (slashes included) for the graph.
|
||||
try {
|
||||
const listed = await loadLoraCache(options)
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user