diff --git a/src/codergpt/commenter/commenter.py b/src/codergpt/commenter/commenter.py index 37d318d..aea2e09 100644 --- a/src/codergpt/commenter/commenter.py +++ b/src/codergpt/commenter/commenter.py @@ -41,9 +41,9 @@ def comment(self, code: str, filename: str, overwrite: bool = False, language: O invoke_params = { "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." + f"Use template {comment_template} as a style reference to render the docstrings." "Everything in the template are placeholders." - "Return just the code block since all this will be a file." + "Return just the code block since all this will be saved in a file." } else: invoke_params = { diff --git a/src/codergpt/documenter/documenter.py b/src/codergpt/documenter/documenter.py index 4ae231f..d3c9644 100644 --- a/src/codergpt/documenter/documenter.py +++ b/src/codergpt/documenter/documenter.py @@ -44,7 +44,7 @@ def document( if document_template: invoke_params = { "input": f"Document the {language} code with the following: \n{code}\n" - f"Use template {document_template} as reference to render the code documentation." + f"Use template {document_template} as a style reference." "Everything in the template are placeholders. Return only the relevant documentation content." } else: