Imagine an agentic LLM model that is integrated with an IDE, like VSCode. How do I tell…
- User
Imagine an agentic LLM model that is integrated with an IDE, like VSCode. How do I tell it to stop leaving comments in the generated code? For example, I might ask it to generate an algorithm that integrates within the current project I might have. Problem is, instead of re-writing, it leaves comments like:
function foo(): /* code is same as before */
function foo2(): /* keep code as before */
How do i tell it to stop repeating this behavior, in a single concise instruction?
Assistant
Okay, here are a few options for a single concise instruction, ranging from most concise to slightly more explicit:
Option 1 (Most Concise):
Always output the complete code block; never use placeholder comments.
Option 2 (Slightly More Explicit):
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.