Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

update prompt #77

Merged
merged 1 commit into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ Example:

> @openai Can you please review this block of code?

Note: A review comment is a comment made on a diff or a file in the pull
request.

### Screenshots

![PR Summary](./docs/images/openai-pr-summary.png)
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
max_files:
required: false
description: 'Max files to review. Less than or equal to 0 means no limit.'
default: '60'
default: '50'
review_comment_lgtm:
required: false
description: 'Leave comments even if the patch is LGTM'
Expand Down Expand Up @@ -189,7 +189,7 @@ inputs:
default: |
Next, I will send you a series of patches. Each patch consists of a diff snippet,
and your task is to review every patch. Identify any bug risks or provide
improvement suggestions. If the patch looks good and acceptable, please reply
improvement suggestions. Otherwise, if the patch is acceptable, please reply
"LGTM!" with a short comment.

Your responses will be recorded as review comments on the pull request.
Expand Down
5 changes: 3 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions src/review.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,9 @@ ${filename}: ${summary}
---

Tips:
- Reply on the review comment left by this bot to ask follow-up questions.
- Invite the bot into a review conversation by typing \`@openai\` in the beginning of the comment.
- 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.
`

next_summarize_ids = summarize_final_response_ids
Expand Down