diff --git a/src/components/ListAPI.tsx b/src/components/ListAPI.tsx index 81f29e0..d32a62a 100644 --- a/src/components/ListAPI.tsx +++ b/src/components/ListAPI.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { ChatStore, TemplateAPI } from "@/types/chatstore"; +import { ChatStore, TemplateAPI, TemplateChatStore } from "@/types/chatstore"; import { Tr } from "@/translate"; import { @@ -32,6 +32,7 @@ import { import { BrushIcon } from "lucide-react"; import { useToast } from "@/hooks/use-toast"; +import { newChatStore } from "@/types/newChatstore"; interface APITemplateDropdownProps { label: string; @@ -186,6 +187,54 @@ function ToolsDropdownList() { ); } +function ChatTemplateDropdownList() { + const ctx = useContext(AppContext); + if (!ctx) return