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

@@ -1,7 +1,8 @@
import { SpeakerWaveIcon } from "@heroicons/react/24/outline";
import { useMemo, useState } from "preact/hooks";
import { ChatStore, ChatStoreMessage, addTotalCost } from "@/app";
import { addTotalCost } from "@/app";
import { ChatStore, ChatStoreMessage } from "@/types/chatstore";
import { Message, getMessageText } from "@/chatgpt";
interface TTSProps {