Bugfix/Prevent sending non image file (#3173)

* bugfix to prevent sending non image file

* fix typo
This commit is contained in:
Henry Heng
2024-09-09 21:02:47 +01:00
committed by GitHub
parent 1e8839e21b
commit 474793486b
2 changed files with 3 additions and 3 deletions
@@ -203,7 +203,7 @@ const ViewMessagesDialog = ({ show, dialogProps, onCancel }) => {
}
if (filePaths.length) msg.filePaths = filePaths
if (chatmsg.sourceDocuments) msg.sourceDocuments = chatmsg.sourceDocuments
if (chatmsg.usedTools) msg.usedTools = Jchatmsg.usedTools
if (chatmsg.usedTools) msg.usedTools = chatmsg.usedTools
if (chatmsg.fileAnnotations) msg.fileAnnotations = chatmsg.fileAnnotations
if (chatmsg.feedback) msg.feedback = chatmsg.feedback?.content
if (chatmsg.agentReasoning) msg.agentReasoning = chatmsg.agentReasoning