forked from langgenius/dify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: chat history might be empty in log detail view (langgenius#10905)
- Loading branch information
Showing
4 changed files
with
386 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
122 changes: 122 additions & 0 deletions
122
web/app/components/base/chat/__tests__/partialMessages.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
[ | ||
{ | ||
"id": "question-ebb73fe2-15de-46dd-aab5-75416d8448eb", | ||
"content": "123", | ||
"isAnswer": false, | ||
"parentMessageId": "57c989f9-3fa4-4dec-9ee5-c3568dd27418" | ||
}, | ||
{ | ||
"id": "ebb73fe2-15de-46dd-aab5-75416d8448eb", | ||
"content": "237.", | ||
"isAnswer": true, | ||
"parentMessageId": "question-ebb73fe2-15de-46dd-aab5-75416d8448eb" | ||
}, | ||
{ | ||
"id": "question-3553d508-3850-462e-8594-078539f940f9", | ||
"content": "123", | ||
"isAnswer": false, | ||
"parentMessageId": "57c989f9-3fa4-4dec-9ee5-c3568dd27418" | ||
}, | ||
{ | ||
"id": "3553d508-3850-462e-8594-078539f940f9", | ||
"content": "My number is 256.", | ||
"isAnswer": true, | ||
"parentMessageId": "question-3553d508-3850-462e-8594-078539f940f9" | ||
}, | ||
{ | ||
"id": "question-507f9df9-1f06-4a57-bb38-f00228c42c22", | ||
"content": "123", | ||
"isAnswer": false, | ||
"parentMessageId": "57c989f9-3fa4-4dec-9ee5-c3568dd27418" | ||
}, | ||
{ | ||
"id": "507f9df9-1f06-4a57-bb38-f00228c42c22", | ||
"content": "My number is 259.", | ||
"isAnswer": true, | ||
"parentMessageId": "question-507f9df9-1f06-4a57-bb38-f00228c42c22" | ||
}, | ||
{ | ||
"id": "question-9e51a13b-7780-4565-98dc-f2d8c3b1758f", | ||
"content": "1024", | ||
"isAnswer": false, | ||
"parentMessageId": "507f9df9-1f06-4a57-bb38-f00228c42c22" | ||
}, | ||
{ | ||
"id": "9e51a13b-7780-4565-98dc-f2d8c3b1758f", | ||
"content": "My number is 2048.", | ||
"isAnswer": true, | ||
"parentMessageId": "question-9e51a13b-7780-4565-98dc-f2d8c3b1758f" | ||
}, | ||
{ | ||
"id": "question-93bac05d-1470-4ac9-b090-fe21cd7c3d55", | ||
"content": "3306", | ||
"isAnswer": false, | ||
"parentMessageId": "9e51a13b-7780-4565-98dc-f2d8c3b1758f" | ||
}, | ||
{ | ||
"id": "93bac05d-1470-4ac9-b090-fe21cd7c3d55", | ||
"content": "My number is 4782.", | ||
"isAnswer": true, | ||
"parentMessageId": "question-93bac05d-1470-4ac9-b090-fe21cd7c3d55" | ||
}, | ||
{ | ||
"id": "question-a956de3d-ef95-4d90-84fe-f7a26ef28cd7", | ||
"content": "-5", | ||
"isAnswer": false, | ||
"parentMessageId": "93bac05d-1470-4ac9-b090-fe21cd7c3d55" | ||
}, | ||
{ | ||
"id": "a956de3d-ef95-4d90-84fe-f7a26ef28cd7", | ||
"content": "My number is 22.", | ||
"isAnswer": true, | ||
"parentMessageId": "question-a956de3d-ef95-4d90-84fe-f7a26ef28cd7" | ||
}, | ||
{ | ||
"id": "question-3cded945-855a-4a24-aab7-43c7dd54664c", | ||
"content": "3.11", | ||
"isAnswer": false, | ||
"parentMessageId": "a956de3d-ef95-4d90-84fe-f7a26ef28cd7" | ||
}, | ||
{ | ||
"id": "3cded945-855a-4a24-aab7-43c7dd54664c", | ||
"content": "My number is 7.89.", | ||
"isAnswer": true, | ||
"parentMessageId": "question-3cded945-855a-4a24-aab7-43c7dd54664c" | ||
}, | ||
{ | ||
"id": "question-46a49bb9-0881-459e-8c6a-24d20ae48d2f", | ||
"content": "78", | ||
"isAnswer": false, | ||
"parentMessageId": "3cded945-855a-4a24-aab7-43c7dd54664c" | ||
}, | ||
{ | ||
"id": "46a49bb9-0881-459e-8c6a-24d20ae48d2f", | ||
"content": "My number is 145.", | ||
"isAnswer": true, | ||
"parentMessageId": "question-46a49bb9-0881-459e-8c6a-24d20ae48d2f" | ||
}, | ||
{ | ||
"id": "question-5c56a2b3-f057-42a0-9b2c-52a35713cd8c", | ||
"content": "π", | ||
"isAnswer": false, | ||
"parentMessageId": "46a49bb9-0881-459e-8c6a-24d20ae48d2f" | ||
}, | ||
{ | ||
"id": "5c56a2b3-f057-42a0-9b2c-52a35713cd8c", | ||
"content": "My number is 2π (approximately 6.28).", | ||
"isAnswer": true, | ||
"parentMessageId": "question-5c56a2b3-f057-42a0-9b2c-52a35713cd8c" | ||
}, | ||
{ | ||
"id": "question-9eac3bcc-8d3b-4e56-a12b-44c34cebc719", | ||
"content": "e", | ||
"isAnswer": false, | ||
"parentMessageId": "5c56a2b3-f057-42a0-9b2c-52a35713cd8c" | ||
}, | ||
{ | ||
"id": "9eac3bcc-8d3b-4e56-a12b-44c34cebc719", | ||
"content": "My number is 3e (approximately 8.15).", | ||
"isAnswer": true, | ||
"parentMessageId": "question-9eac3bcc-8d3b-4e56-a12b-44c34cebc719" | ||
} | ||
] |
Oops, something went wrong.