Refactor lorebook.ts to lorebook.svelte.ts for optimization

This commit is contained in:
kwaroran
2024-10-25 18:49:12 +09:00
parent a68b5c9f59
commit 7d43075528
5 changed files with 25 additions and 32 deletions

View File

@@ -4,7 +4,7 @@ import { getCurrentCharacter, getCurrentChat, getDatabase, setCurrentCharacter,
import { AppendableBuffer, downloadFile, isNodeServer, isTauri, readImage, saveAsset } from "../storage/globalApi"
import { selectSingleFile, sleep } from "../util"
import { v4 } from "uuid"
import { convertExternalLorebook } from "./lorebook"
import { convertExternalLorebook } from "./lorebook.svelte"
import { decodeRPack, encodeRPack } from "../rpack/rpack_bg"
import { convertImage } from "../parser"
import { Capacitor } from "@capacitor/core"