(fix:messages) attachments are for questions

This commit is contained in:
ManishMadan2882
2025-06-05 03:09:37 +05:30
parent 12b18c6bd1
commit 3bae30c70c

View File

@@ -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)}
</Fragment>