Skip to content

Commit

Permalink
Updated prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Feb 14, 2024
1 parent 18d2108 commit a7a1594
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/codergpt/commenter/commenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def comment(self, code: str, filename: str, overwrite: bool = False, language: O
"input": f"Rewrite and return this {language} code with\
comments: \n{code}\n"
f"Use template {comment_template} as reference to render the code comments."
"Remember, everything in the template are placeholders."
"Return just the code block since all this will be a file."
}
else:
Expand Down

0 comments on commit a7a1594

Please sign in to comment.