Unify the 3 interface modes (#3554)

This commit is contained in:
oobabooga 2023-08-13 01:12:15 -03:00 committed by GitHub
parent bf70c19603
commit a1a9ec895d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 660 additions and 714 deletions

View file

@ -32,9 +32,9 @@ function saveHistory(history, character, mode) {
saveFile(history, path);
}
function saveSession(session, mode) {
function saveSession(session) {
let path = null;
path = `session_${mode}_${getCurrentTimestamp()}.json`;
path = `session_${getCurrentTimestamp()}.json`;
saveFile(session, path);
}