diff --git a/webapp/src/components/chat/prompt-dialog/PromptDialog.tsx b/webapp/src/components/chat/prompt-dialog/PromptDialog.tsx index e0e4d663e..bec893354 100644 --- a/webapp/src/components/chat/prompt-dialog/PromptDialog.tsx +++ b/webapp/src/components/chat/prompt-dialog/PromptDialog.tsx @@ -101,14 +101,16 @@ export const PromptDialog: React.FC = ({ message }) => { Prompt - - - Formatted - - - Raw Content - - + {message.prompt && ( + + + Formatted + + + Raw Content + + + )} {selectedTab === 'formatted' && promptDetails} {selectedTab === 'rawContent' && formatParagraphTextContent((prompt as BotResponsePrompt).rawContent)}