{"agent":"claude","input":"Add a way to export the current conversation of this Reflex chat app as a Markdown file. Read rxconfig.py, requirements.txt, chat/state.py, chat/chat.py, every file under chat/components and the CI workflow first. Write a pure function in a new module that turns a chat name and its question and answer pairs into Markdown, skipping a trailing pair whose answer is still empty, and an event handler on the state that returns rx.download with that text, a filename made from the chat name and a Markdown mime type. Add a download icon button in the navbar next to the new-chat button, disabled while a response is streaming and when the chat is empty. Add pytest tests for the formatter and a pytest job to the CI workflow. Run pyright, ruff, reflex init and reflex export with a dummy API key as CI does, run the app in a browser, trigger a download and read the file, and open a pull request linked to the issue with the commands and their output.","resources":[{"url":"https://github.com/your-org/your-app"}]}