click prompt to open settings

This commit is contained in:
2024-07-18 10:32:39 +08:00
parent 44f5d28565
commit 63b2f41b97

View File

@@ -846,7 +846,10 @@ export default function ChatBOX(props: {
{chatStore.systemMessageContent.trim() && (
<div class="chat chat-start">
<div class="chat-header">Prompt</div>
<div class="chat-bubble chat-bubble-accent">
<div
class="chat-bubble chat-bubble-accent cursor-pointer"
onClick={() => setShowSettings(true)}
>
{chatStore.systemMessageContent}
</div>
</div>