Download of the results of code interpreter are supposed to be offered by a file citation feature. You handle the special container in your code and then offer the download to a chatbot user. That’s what the link, and then its further link attempts to explain, and then you try to make it work with your own code.
The playground doesn’t implement a lot of the dozens of different convoluted methods for actually interacting with an assistant.