Currently, DIAL Chat takes into account only the attachments that are attached directly to individual chat messages.
However, according to the DIAL API, each message may also have multiple stages each of which could have attachments.
Those must also be taken into account in the sharing logic, otherwise recepient of the shared link won't have an access to the stage attachments:
EPAM AI DIAL chat version
0.5.3
What happened?
Currently, DIAL Chat takes into account only the attachments that are attached directly to individual chat messages. However, according to the DIAL API, each message may also have multiple stages each of which could have attachments.
Those must also be taken into account in the sharing logic, otherwise recepient of the shared link won't have an access to the stage attachments:
https://github.com/epam/ai-dial-chat/blob/f9fd30c90f98df8350dc2748a8f12b847dd10133/apps/chat/src/store/share/share.epics.ts#L52-L64
Confidential information