refac: @/types/chatstore.ts

This commit is contained in:
2024-10-15 10:18:20 +08:00
parent 04bac03fd7
commit dccf4827c9
19 changed files with 125 additions and 120 deletions

View File

@@ -3,7 +3,7 @@ import Markdown from "preact-markdown";
import { useState, useEffect, StateUpdater } from "preact/hooks";
import { Tr, langCodeContext, LANG_OPTIONS } from "@/translate";
import { ChatStore, ChatStoreMessage } from "@/app";
import { ChatStore, ChatStoreMessage } from "@/types/chatstore";
import { calculate_token_length, getMessageText } from "@/chatgpt";
import TTSButton, { TTSPlay } from "@/tts";
import { MessageHide } from "@/messageHide";