Change setDatabase and getDatabase to accessing dbState
This commit is contained in:
@@ -4,8 +4,8 @@ import { getDatabase, type character, type customscript, type groupChat } from "
|
||||
import { globalFetch, isTauri } from "../storage/globalApi"
|
||||
import { alertError } from "../alert"
|
||||
import { requestChatData } from "../process/request"
|
||||
import { doingChat, type OpenAIChat } from "../process"
|
||||
import { applyMarkdownToNode, parseChatML, type simpleCharacterArgument } from "../parser"
|
||||
import { doingChat, type OpenAIChat } from "../process/index.svelte"
|
||||
import { applyMarkdownToNode, parseChatML, type simpleCharacterArgument } from "../parser.svelte"
|
||||
import { selectedCharID } from "../stores"
|
||||
import { getModuleRegexScripts } from "../process/modules"
|
||||
import { getNodetextToSentence, sleep } from "../util"
|
||||
|
||||
Reference in New Issue
Block a user