Remove redundant library job start calls in App.jsx
This commit is contained in:
@@ -932,12 +932,6 @@ async function regenerateFromIndex(index, overrideUserText = null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setPendingChatLibrarySlug(slug)
|
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)
|
// Persist the scrollTop of the session we are LEAVING (on chat change or when leaving the chat view)
|
||||||
|
|||||||
Reference in New Issue
Block a user