diff --git a/src/chatbox.tsx b/src/chatbox.tsx index 2f9a9b1..7a93b0c 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -14,6 +14,7 @@ import { TemplateAPI, TemplateTools, addTotalCost, + getTotalCost, } from "./app"; import ChatGPT, { calculate_token_length, @@ -34,7 +35,15 @@ import { ListToolsTempaltes } from "./listToolsTemplates"; import { autoHeight } from "./textarea"; import Search from "./search"; import { IDBPDatabase } from "idb"; -import { MagnifyingGlassIcon } from "@heroicons/react/24/outline"; +import { + MagnifyingGlassIcon, + CubeIcon, + BanknotesIcon, + DocumentTextIcon, + ChatBubbleLeftEllipsisIcon, + ScissorsIcon, + SwatchIcon, +} from "@heroicons/react/24/outline"; export interface TemplateChatStore extends ChatStore { name: string; @@ -465,7 +474,7 @@ export default function ChatBOX(props: { /> )}
{chatStore.history.length > 0 && (