-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add implementation details flag for PR descriptions #10
Conversation
Added a LICENSE file stipulating the conditions under which the software can be used. Also included a README file detailing the installation and usage information of the code review bot. The README file is intended to serve as a guide for users during setup and regular use of the application.
The code is updated to offer a more detailed analysis of code changes during pull requests. A new `details` flag has been introduced that, when set, provides more implementation-specific details about the changes. This can help to give a more comprehensive overview of the modifications, enhancing the information available for code reviews.
The code is updated to offer a more detailed analysis of code changes during pull requests. A new `--details` flag has been introduced that, when set, provides more implementation-specific details about the changes.
cr-bot says: Analysing PR changes: nihilok/cr-bot #10
|
cr-bot now says: Analysing PR changes: nihilok/cr-bot #10 Code ReviewPotential Issues
|
# Conflicts: # src/pr-system-message.txt # src/system-message.txt
Was missing some parts from another branch! cr-bot now says: Analysing PR changes: nihilok/cr-bot #10 Code ReviewPotential Issues
|
The code is updated to offer a more detailed analysis of code changes during pull requests. A new
--details
flag has been introduced that, when set, provides more implementation-specific details about the changes.cr-bot describes this PR as:
Implementation:
--details
flag to retrieve implementation-specific details during code reviews in pull requests.ai_funcs.rs
to include the functionimplementation_details
that sends a series of messages reflecting the user's request for implementation details for PR changes.MODEL
inai_funcs.rs
to avoid repetition and facilitate maintenance.pr-system-message.txt
to tailor the PR description's implementation details when the--details
flag is used.git_funcs.rs
to return more comprehensive PR information, now encapsulating PR title and body as well as changed files.main.rs
to parse the new--details
CLI flag and conditionally callimplementation_details
orcode_review
depending on the user's choice.utils.rs
, added thedetails
flag within theArgs
struct to be captured by the command-line parser.system-message.txt
to reflect the extended capabilities of the code review bot, emphasizing on the summary and potential issues.Security
GH_PR_TOKEN
) to authenticate requests to GitHub API to avoid leaking sensitive information.