this python script takes the raw Visual Studio Code Github Copilot chat log and turns it into a more readable text file
- make sure you have python installed
- export a Copilot Chat session to a JSON file via
Ctrl+Shift+P | Chat: Export Session...
or by choosingView > Command Palette | Chat: Export Session...
- place this chat.json file in the same folder as the format_chat_log.py file
- open command prompt in this folder and run
python format_chat_log
- this gives you the formatted chat logs in a .txt file in that same folder.