mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't bail early if empty token provided from UI
This commit is contained in:
@@ -319,7 +319,7 @@ function readFirstLine(filePath) {
|
||||
*/
|
||||
async function checkChatIntegrity(filePath, integritySlug) {
|
||||
// If the chat file doesn't exist, assume it's intact
|
||||
if (!integritySlug || !fs.existsSync(filePath)) {
|
||||
if (!fs.existsSync(filePath)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user