-
Notifications
You must be signed in to change notification settings - Fork 700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tr/review redesign #1011
Tr/review redesign #1011
Conversation
PR Reviewer Guide 🔍(Review updated until commit 0405030)
|
PR Code Suggestions ✨
|
# Conflicts: # pr_agent/tools/pr_reviewer.py
Persistent review updated to latest commit 3373fb4 |
/describe |
/improve |
TitleTr/review redesign PR TypeEnhancement, Bug fix Description
Changes walkthrough 📝
|
/review |
Persistent review updated to latest commit 3373fb4 |
PR Code Suggestions ✨
|
/review |
Persistent review updated to latest commit 3373fb4 |
|
||
|
||
Specific instructions for generating code suggestions: | ||
- Provide up to {{ num_code_suggestions }} code suggestions. The suggestions should be diverse and insightful. | ||
- The suggestions should focus on ways to improve the new code in the PR, meaning focusing on lines from '__new hunk__' sections, starting with '+'. Use the '__old hunk__' sections to understand the context of the code changes. | ||
- The suggestions should focus how to improve the new code introduced the PR, meaning on lines from '__new hunk__' sections, starting with '+' (after the line numbers). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to change it to: The suggestions should always focus on improving the new code lines introduced in the PR, meaning lines in the '__new hunk__' sections that begin with a '+' symbol (after the line numbers).
CI Failure Feedback 🧐
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
Persistent review updated to latest commit 0405030 |
/help |
PR Agent Walkthrough 🤖Welcome to the PR Agent, an AI-powered tool for automated pull request analysis, feedback, suggestions and more. Here is a list of tools you can use to interact with the PR Agent:
(1) Note that each tool be triggered automatically when a new PR is opened, or called manually by commenting on a PR. (2) Tools marked with [*] require additional parameters to be passed. For example, to invoke the |
PR Type
Enhancement, Bug fix
Description
litellm_ai_handler.py
to replaceopenai.Timeout
withopenai.APITimeoutError
.emphasize_header
function inutils.py
to support markdown-only emphasis.convert_to_markdown_v2
function inutils.py
for improved markdown formatting.process_can_be_split
function inutils.py
for better markdown output.is_value_no
utility function inutils.py
to check for negative values.pr_reviewer.py
to useconvert_to_markdown_v2
for preparing PR reviews.Changes walkthrough 📝
litellm_ai_handler.py
Update exception handling for OpenAI API timeout errors
pr_agent/algo/ai_handlers/litellm_ai_handler.py
openai.Timeout
withopenai.APITimeoutError
in retry andexception handling.
utils.py
Enhance markdown conversion and header emphasis utilities
pr_agent/algo/utils.py
only_markdown
parameter toemphasize_header
function.convert_to_markdown_v2
function for enhanced markdownconversion.
process_can_be_split
function to improve markdown formatting.is_value_no
utility function.pr_reviewer.py
Use enhanced markdown conversion for PR review
pr_agent/tools/pr_reviewer.py
convert_to_markdown
withconvert_to_markdown_v2
for PR reviewpreparation.