3 ms·
You can ask to not use comments or use less comments, you can put this in the system prompt too.
by GaggiX 1y ago
You can ask to not use comments or use less comments, you can put this in the system prompt too.
- ChadMoran 1y agoI've tried this, aggressively and it still does it for me. I gave up.
- ziml77 1y agoI tried this as well. I'm interfacing with Gemini 2.5 using Cursor and I have rules to to limit the comments. It still ends up over-commenting.
- shawabawa3 1y agoI have a feeling this may be a cursor issue, perhaps cursors system prompt asks for comments? Asking in the aistudio UI for code and ending the prompt with "no code comments" has always worked for me
- ChadMoran 1y agohttps://github.com/x1xhlol/system-prompts-and-models-of-ai-tools/blob/main/Cursor%20Prompts/cursor%20agent.txt https://github.com/x1xhlol/system-prompts-and-models-of-ai-t...
- koakuma-chan 1y agoHave you tried threats?
- throwup238 1y agoIt strips the comments from the code or else it gets the hose again.
- ChadMoran 1y agoI did not, but I'm curious if this would actually work.
- blensor 1y agoMaybe too many comments could be a good metric to check if someone just yolo accepted the result or if they actually checked if it's correct. I don't have problems with getting lot's of comments in the output, I am just deleting it while reading what it did
- tough 1y agoanother great tell of code reviewers yolo'ing it is that LLM's usually put the full filename path on the output, so if you see a file with the filename / path on the first line, thats prob a llm output