mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Display vectorization error in toast
This commit is contained in:
@ -94,7 +94,9 @@ async function synchronizeChat(batchSize = 5) {
|
|||||||
|
|
||||||
return newVectorItems.length - batchSize;
|
return newVectorItems.length - batchSize;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
toastr.error('Check server console for more details', 'Vectorization failed');
|
||||||
console.error('Vectors: Failed to synchronize chat', error);
|
console.error('Vectors: Failed to synchronize chat', error);
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user