[feat] add selective option in lorebook

This commit is contained in:
kwaroran
2023-05-12 21:57:12 +09:00
parent c4d44d2031
commit 23fe3ae484
8 changed files with 131 additions and 73 deletions

View File

@@ -4,7 +4,7 @@ import { CharEmotion, selectedCharID } from "../stores";
import { tokenize, tokenizeNum } from "../tokenizer";
import { language } from "../../lang";
import { alertError } from "../alert";
import { loadLoreBookPrompt } from "../lorebook";
import { loadLoreBookPrompt } from "./lorebook";
import { findCharacterbyId, replacePlaceholders } from "../util";
import { requestChatData } from "./request";
import { stableDiff } from "./stableDiff";