epam / ai-dial-chat

A default UI for AI DIAL
https://chat.lab.epam.com
Apache License 2.0
57 stars 24 forks source link

Wrong attachment type after chat import #1759

Closed FedorYatsenko closed 2 months ago

FedorYatsenko commented 2 months ago

EPAM AI DIAL chat version

0.11.0

What happened?

I have a chat with a custom attachment like below:

"custom_content": {
    "attachments": [{
        "index": 2,
        "type": "application/dial-ttyd-table",
        "title": "Custom Table",
        "url": "files/.../7-5e676d1d-c2d4-4771-9841-817f8ffbde15.json"
    }]
}

I export this chat with attachments, then I import it. In the new chat, this attachment type and name are different:

"custom_content": {
    "attachments": [{
        "index": 2,
        "type": "application/json",
        "title": "7-5e676d1d-c2d4-4771-9841-817f8ffbde15.json",
        "url": "files/.../7-5e676d1d-c2d4-4771-9841-817f8ffbde15.json"
    }]
}

Confidential information

VolhaBazhkova commented 2 months ago

Unfortunately, on our servers there is no custom renderer configuration. The fix was verified on staging env using the import file provided by separate team (0.15.0 version). The fix was included into 0.14.1 patch. @FedorYatsenko Once your team will install the 0.14.1 build, could you please confirm that everything is correct?

FedorYatsenko commented 2 months ago

I checked, everything works, thank you very much!