open-interpreter
open-interpreter copied to clipboard
feat: add export arg to export to md
Describe the changes you have made:
Added conversation export functionality to markdown files:
- Implemented
export_to_markdown()method inOpenInterpreterclass - Added
--exportcommand-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
@KillianLucas I noticed that Additional functions in core beyond running code is considered out of scope. But my current features includes adding functionalities to the core. However I can use the same functions as utils. Should I do that? Just wanted to get this though you before changing it
@cyai It would be helpful to hear how this differs from https://github.com/OpenInterpreter/open-interpreter/blob/main/interpreter/terminal_interface/utils/export_to_markdown.py