diff --git a/opentrons-ai-client/src/molecules/ChatDisplay/index.tsx b/opentrons-ai-client/src/molecules/ChatDisplay/index.tsx index 5fbd5e1d5c2..5c070a290dc 100644 --- a/opentrons-ai-client/src/molecules/ChatDisplay/index.tsx +++ b/opentrons-ai-client/src/molecules/ChatDisplay/index.tsx @@ -72,12 +72,13 @@ export function ChatDisplay({ chat, chatId }: ChatDisplayProps): JSX.Element { h2: HeaderText, li: ListItemText, p: ParagraphText, - a: ExternalLink, - code: CodeText, + a: isUser ? ParagraphText : ExternalLink, + code: isUser ? ParagraphText : CodeText, }} > {reply} + {!isUser ? ( + return } function UnnumberedListText(props: JSX.IntrinsicAttributes): JSX.Element {