From 2a5cefe27e9e3501fbd55414067f2f88aa0914f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cnora?= Date: Thu, 17 Oct 2024 12:58:40 -0400 Subject: [PATCH] chore: 1 --- .../components/assistant/AssistantCanvas.tsx | 56 +++++++++++++------ 1 file changed, 39 insertions(+), 17 deletions(-) diff --git a/packages/paste-website/src/components/assistant/AssistantCanvas.tsx b/packages/paste-website/src/components/assistant/AssistantCanvas.tsx index ccd4124d08..d652fa079f 100644 --- a/packages/paste-website/src/components/assistant/AssistantCanvas.tsx +++ b/packages/paste-website/src/components/assistant/AssistantCanvas.tsx @@ -1,6 +1,8 @@ import { useIsMutating, useQuery } from "@tanstack/react-query"; +import { AIChatLog } from "@twilio-paste/ai-chat-log"; import { Box } from "@twilio-paste/box"; -import { ChatBookend, ChatBookendItem, ChatLog } from "@twilio-paste/chat-log"; +import { ChatBookend, ChatBookendItem } from "@twilio-paste/chat-log"; +import { Text } from "@twilio-paste/text"; import * as React from "react"; import { useShallow } from "zustand/react/shallow"; @@ -62,21 +64,41 @@ export const AssistantCanvas: React.FC = ({ selectedThread {activeRun != null && } - - - - Welcome to the Paste Design System Assistant! We're excited to have you here. - - - - - Keep in mind that this is an experimental tool and so the information provided{" "} - may not be entirely accurate. - - - Your conversations are not used to train OpenAI's models, but are stored by OpenAI. - - + + + Welcome to the Paste Design System Assistant! We're excited to have you here. + + + Keep in mind that this is an experimental tool and so the information provided{" "} + + may not be entirely accurate + + . + + + Your conversations are not used to train OpenAI's models, but are stored by OpenAI. + {messages?.map((threadMessage): React.ReactNode => { if (threadMessage.role === "assistant") { return ; @@ -84,7 +106,7 @@ export const AssistantCanvas: React.FC = ({ selectedThread return ; })} {(isCreatingAResponse || activeRun != null) && } - + );