chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

File element opens in a new tab or downloads the content depending whether chainlit is standalone or embedded

Open ygmarchi opened this issue 4 months ago • 0 comments
trafficstars

Is your feature request related to a problem? Please describe. Currently the File elements renders an anchor with a download attribute. This can behave differently in the standalone case (the link is opened in a new tab) and in the embedded case (the link is downloaded)

Describe the solution you'd like Either create a Link element that doesn't render the download attribute or add a flag to the File element.

ygmarchi avatar Jul 11 '25 09:07 ygmarchi