Skip to content

Commit 9f3e794

Browse files
committed
v0.4.5 Typo fixes, prompt improvements
1 parent 0120c91 commit 9f3e794

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ai_code_review/.ai-code-review.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Review the provided code diff carefully and identify *only* highly confident iss
5252
- Only include issues that are **significantly valuable** to the maintainers (e.g., bugs, security flaws, or clear maintainability concerns).
5353
- Do **not** report vague, theoretical, or overly generic advice.
5454
- Do **not** report anything with medium or lower confidence.
55+
- Typographical errors have highest severity
5556
{{ json_requirements }}
5657
5758
Respond with a valid JSON array of issues in the following format:
@@ -101,7 +102,7 @@ Confidence scale:
101102
- 3 — High
102103
- 4 — Medium - Should not be reported
103104
104-
(!) - If no issues found according to the criterias, respond with empty list: []
105+
(!) - If no issues found according to the criteria, respond with empty list: []
105106
"""
106107
# Remove issues with confidence + severity > 3
107108
post_process = """
@@ -119,7 +120,7 @@ Summarize the code review in one sentence.
119120
--Detected Issues--
120121
{{ issues | tojson(indent=2) }}
121122
---
122-
If code changs contains exceptional achievements, you may additionally present the award in summary text.
123+
If code changes contains exceptional achievements, you may additionally present the award in summary text.
123124
--Available Awards--
124125
{{ awards }}
125126
---

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ai-code-review"
3-
version = "0.4.5"
3+
version = "0.4.6"
44
description = "LLM-agnostic GitHub AI Code Review Tool with integration to GitHub actions"
55
authors = ["Nayjest <mail@vitaliy.in>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)