open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

feat: add export arg to export to md

Open cyai opened this issue 7 months ago • 2 comments

Describe the changes you have made:

Added conversation export functionality to markdown files:

  • Implemented export_to_markdown() method in OpenInterpreter class
  • Added --export command-line argument to specify export at startup
  • Modified main() function to handle export on KeyboardInterrupt (Ctrl+C)
  • Export uses default or user-specified filename
  • Exports to OS-specific default directories

Pre-Submission Checklist (optional but appreciated):

  • [x] I have included relevant documentation updates (stored in /docs)
  • [x] I have read docs/CONTRIBUTING.md
  • [x] I have read docs/ROADMAP.md

OS Tests (optional but appreciated):

  • [ ] Tested on Windows
  • [x] Tested on MacOS
  • [ ] Tested on Linux

cyai avatar Jul 23 '24 19:07 cyai