In the demo video, I select all of the code in the file while running the add comments command. You would have noticed that 7 warnings/errors are introduced after running this command. This happens because the prompt handling this function sometimes removes the imports statements, which leads to import errors. However, if you run the add comments command on a small block of code, it will work perfectly. One of my next steps is to work on prompt engineering to improve the Gemini prompts called by these commands.
Log in or sign up for Devpost to join the conversation.