From 67d4c96166296b60962594f030a6dad1f428cd84 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 19 Jan 2025 17:21:48 +0200 Subject: [PATCH] fix: correct typos in code suggestions prompt --- pr_agent/settings/pr_code_suggestions_prompts.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pr_agent/settings/pr_code_suggestions_prompts.toml b/pr_agent/settings/pr_code_suggestions_prompts.toml index b2c2e33d..3a734a25 100644 --- a/pr_agent/settings/pr_code_suggestions_prompts.toml +++ b/pr_agent/settings/pr_code_suggestions_prompts.toml @@ -63,10 +63,10 @@ Specific guidelines for generating code suggestions: - Don't suggest to add docstring, type hints, or comments, to remove unused imports, or to use more specific exception types. {%- else %} - Only give suggestions that address critical problems and bugs in the PR code. If no relevant suggestions are applicable, return an empty list. -- Do not suggest to change packages version, add missing import statement, or decalre undefined variable. +- Do not suggest to change packages version, add missing import statement, or declare undefined variable. {%- endif %} - When mentioning code elements (variables, names, or files) in your response, surround them with backticks (`). For example: "verify that `user_id` is..." -- Note that you only see changed code segments (diff hunks in a PR), not the entire codebase. Avoid suggesting modifications that might duplicate existing functionality or questioning code elements (like variables declerations or import statements) that are not visible from the PR scope but may be defined elsewhere in the codebase. +- Note that you only see changed code segments (diff hunks in a PR), not the entire codebase. Avoid suggestions that might duplicate existing functionality or questioning code elements (like variables declerations or import statements) that may be defined elsewhere in the codebase. {%- if extra_instructions %}