epam / ai-dial-chat

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

[Custom app]: Clip icon appear for chat with new custom app selected where fields Attachment types filled and Max attachment is empty #2063

Closed YauheniyaH closed 1 month ago

YauheniyaH commented 2 months ago

EPAM AI DIAL chat version

0.17.0

How to reproduce

Steps:

  1. create new conversation
  2. create new custom application with fields Attachment types filled and Max attachment is empty
  3. select new app
  4. click on clip icon and view Attach files form

Actual result

image file types are mentioned, but max number of attachments - not Not reproducible if edit app

Expected result

if custom application has field Max attachments = 0, then clip icon in the chat should not be displayed Updated after dev conversation: if custom application has field Max attachments empty and Attachment type is not empty, then Max Attachments should be treated as without limits

Confidential information

YauheniyaH commented 1 month ago

verified on staging succesfully