Move DBState to stores

This commit is contained in:
kwaroran
2024-10-26 21:17:46 +09:00
parent 92f1ed0528
commit da907f4fc2
84 changed files with 183 additions and 156 deletions

View File

@@ -1,6 +1,7 @@
import { get, writable } from "svelte/store";
import { type character, type MessageGenerationInfo, type Chat, DBState } from "../storage/database.svelte";
import { CharEmotion, selectedCharID } from "../stores";
import { type character, type MessageGenerationInfo, type Chat } from "../storage/database.svelte";
import { DBState } from '../stores.svelte';
import { CharEmotion, selectedCharID } from "../stores.svelte";
import { ChatTokenizer, tokenize, tokenizeNum } from "../tokenizer";
import { language } from "../../lang";
import { alertError } from "../alert";