- fixed swiping/generation post merge

- optimized char edit/create textarea listeners
- optimized listeners for left side options popup
-
This commit is contained in:
RossAsscends
2023-03-18 06:09:12 +09:00
parent 8beb1ade21
commit 5f2c6b8853
2 changed files with 702 additions and 883 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,13 +2,6 @@ import { encode } from "../scripts/gpt-2-3-tokenizer/mod.js";
import {
Generate,
/* getSettings,
saveSettings,
printMessages,
clearChat,
getChat,
chat
settings, */
this_chid,
characters,
online_status,
@ -60,7 +53,6 @@ observer.observe(document.documentElement, observerConfig);
//Mostly I wanted this to be for file names, but couldn't figure out exactly where the filename save code was as everything seemed to be connected.
//Does not break old characters/chats, as the code just uses whatever timestamp exists in the chat.
//New chats made with characters will use this new formatting.
//Useable variable is (( HumanizedDateTime ))
export function humanizedDateTime() {
let baseDate = new Date(Date.now());
let humanYear = baseDate.getFullYear();