Remove redundant library job start calls in App.jsx

This commit is contained in:
2026-03-19 21:14:51 +01:00
parent 74fd88fb3d
commit c1e8a25aae

View File

@@ -932,12 +932,6 @@ async function regenerateFromIndex(index, overrideUserText = null) {
}
setPendingChatLibrarySlug(slug)
if (!library.states?.has_corpus) {
await startLibraryJob(slug, 'build')
} else {
await startLibraryJob(slug, 'embed')
}
await refreshLibraries()
}
// Persist the scrollTop of the session we are LEAVING (on chat change or when leaving the chat view)