Tim's experiments to ask AI to help coding.
letcode3.mov
cd agent
npm install
- Open Chrome in remote debug mode:
# on macOS /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
- Make sure you have logged in to leetcode.com.
- Run the script.
# set env variable export OPENAI_API_KEY="your API key" # run the script node agent/leecode.mjs