chainlit
chainlit copied to clipboard
File element opens in a new tab or downloads the content depending whether chainlit is standalone or embedded
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.