I often ask AI to output it's answer as Markdown (e.g. tables) or as CSV. It would be convenient if besides the copy function (in a 'code' block) there would also be a download button that downloads the text in the requested format. So that you don't have to copy and paste the content into the required file.
So Markdown files for Markdown, CSV files for CSV output etc.
I see it like this, the download icon is added alongside the copy button.