You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2024. It is now read-only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The changes in this pull request add an option to review simple changes. The renderSummarizeFileDiff function now takes an additional boolean parameter reviewSimpleChanges, which is used to determine whether or not to include a new prompt for triaging the diff. If reviewSimpleChanges is true, the function returns a simple summary of the file diff. Otherwise, it returns a detailed summary. The summarize function has been updated to use this new argument. The new boolean input option review_simple_changes has also been added to the Options object in src/main.ts. These changes need to be reviewed thoroughly as they may impact the behavior of the code.
Files Summary
File
Summary
src/main.ts
Added a new boolean input option review_simple_changes to the Options object.
src/prompts.ts
No changes made.
src/review.ts
Modified the renderSummarizeFileDiff function to use the new option and added a note in the summary comment about which files were reviewed and which ones failed or were skipped.
Chat with 🤖 OpenAI Bot (@openai)
Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
Invite the bot into a review comment chain by tagging @openai in a reply.
Code suggestions
The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.
Ignoring further reviews
Type @openai: ignore anywhere in the PR description to ignore further reviews from the bot.
Files ignored due to filter (1)
Ignored files
dist/index.js
In the recent run, only the files that changed from the base of the PR and between 82258c1e473a27af54ab1d4d23c87ca5644bbd86 and 0658f71b33e60d242546cde47902b6e48d085238 commits were reviewed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by OpenAI
Release Notes
renderSummarizeFileDiff
function to use the new option.summarize
function to use the new argument.review_simple_changes
to theOptions
object insrc/main.ts
.