Merge pull request #44 from devchat-ai/fix-duplicate-response-in-vscode

Fix vscode duplication response
This commit is contained in:
Rankin Zheng 2024-05-20 19:27:15 +08:00 committed by GitHub
commit afcaa8fec3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,7 +95,7 @@ const CurrentMessage = observer((props: any) => {
}} }}
> >
<MessageBody messageType="bot" activeStep={true}> <MessageBody messageType="bot" activeStep={true}>
{renderBlocks.length > 0 ? toMarkdown(renderBlocks[0]) : ""} {receivedCount > fixedCount && renderBlocks.length > 0 ? toMarkdown(renderBlocks[0]) : ""}
</MessageBody> </MessageBody>
<MessageBlink /> <MessageBlink />
</Box> </Box>