From 3bae30c70ca622d13a69c28346ae65574f49783c Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Thu, 5 Jun 2025 03:09:37 +0530 Subject: [PATCH] (fix:messages) attachments are for questions --- frontend/src/conversation/ConversationMessages.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/conversation/ConversationMessages.tsx b/frontend/src/conversation/ConversationMessages.tsx index 44f38159..49329445 100644 --- a/frontend/src/conversation/ConversationMessages.tsx +++ b/frontend/src/conversation/ConversationMessages.tsx @@ -145,7 +145,6 @@ export default function ConversationMessages({ toolCalls={query.tool_calls} feedback={query.feedback} isStreaming={isCurrentlyStreaming} - attachmentsMetadata={query.attachments} handleFeedback={ handleFeedback ? (feedback) => handleFeedback(query, feedback, index) @@ -224,6 +223,7 @@ export default function ConversationMessages({ handleUpdatedQuestionSubmission={handleQuestionSubmission} questionNumber={index} sources={query.sources} + attachmentsMetadata={query.attachments} /> {renderResponseView(query, index)}