diff --git a/app/components/chat/BaseChat.tsx b/app/components/chat/BaseChat.tsx index 142e19a3..d6435e6e 100644 --- a/app/components/chat/BaseChat.tsx +++ b/app/components/chat/BaseChat.tsx @@ -641,23 +641,25 @@ export const BaseChat = React.forwardRef( -
+
{!chatStarted && (
{ImportButtons(importChat)}
)} - {!chatStarted && - ExamplePrompts((event, messageInput) => { - if (isStreaming) { - handleStop?.(); - return; - } +
+ {!chatStarted && + ExamplePrompts((event, messageInput) => { + if (isStreaming) { + handleStop?.(); + return; + } - handleSendMessage?.(event, messageInput); - })} - {!chatStarted && } + handleSendMessage?.(event, messageInput); + })} + {!chatStarted && } +
diff --git a/app/components/chat/FilePreview.tsx b/app/components/chat/FilePreview.tsx index 0500d03b..e42faef2 100644 --- a/app/components/chat/FilePreview.tsx +++ b/app/components/chat/FilePreview.tsx @@ -12,18 +12,25 @@ const FilePreview: React.FC = ({ files, imageDataList, onRemov } return ( -
+
{files.map((file, index) => (
{imageDataList[index] && ( -
- {file.name} +
+ {file.name} +
+ {file.name} +
)}
diff --git a/app/components/chat/GitCloneButton.tsx b/app/components/chat/GitCloneButton.tsx index a450c2c8..3fcebdc4 100644 --- a/app/components/chat/GitCloneButton.tsx +++ b/app/components/chat/GitCloneButton.tsx @@ -156,13 +156,13 @@ ${escapeBoltTags(file.content)}