diff --git a/src/chatbox.tsx b/src/chatbox.tsx index ca2323e..298f31a 100644 --- a/src/chatbox.tsx +++ b/src/chatbox.tsx @@ -43,6 +43,7 @@ import { ChatBubbleLeftEllipsisIcon, ScissorsIcon, SwatchIcon, + SparklesIcon, } from "@heroicons/react/24/outline"; export interface TemplateChatStore extends ChatStore { @@ -473,7 +474,119 @@ export default function ChatBOX(props: { setShow={setShowSearch} /> )} - + {/*
setShowSettings(true)} > @@ -488,63 +601,7 @@ export default function ChatBOX(props: { > - +
-
+ */}
{!chatStore.apiKey && (

@@ -781,6 +838,13 @@ export default function ChatBOX(props: {

)} +
+
Prompt
+
+ {chatStore.systemMessageContent} +
+
+ {chatStore.history.map((_, messageIndex) => (