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

Invite bot #45

Merged
merged 3 commits into from
Mar 18, 2023
Merged

Invite bot #45

merged 3 commits into from
Mar 18, 2023

Conversation

harjotgill
Copy link
Contributor

@harjotgill harjotgill commented Mar 18, 2023

Summary by OpenAI

New Feature: This pull request adds a bot invite feature to the code review process. Users can now invite the bot to a conversation chain on a code review diff by mentioning "@openai" in their comment. The bot will then prompt them to reply to the new comment made on the conversation chain.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 18, 2023

🤖 OpenAI

Thank you for letting me participate in the code review. The purpose of this pull request is to add a bot invite feature to the code review process. The changes include adding a constant to check if a comment starts with "@openai", updating the condition to check if a chain contains replies from the bot or if the comment starts with "@openai", and updating the prompt message.

Here is the summary of the files:

Filename Summary
src/review-comment.ts Added BOT_INVITE constant to check if comment starts with "@openai". Updated the condition to check if a chain contains replies from the bot or if the comment starts with "@openai". The prompt message is updated.

@harjotgill harjotgill added this pull request to the merge queue Mar 18, 2023
@harjotgill harjotgill merged commit 1eb31e7 into main Mar 18, 2023
@harjotgill harjotgill deleted the invite_bot branch March 18, 2023 06:01
shoyuf pushed a commit to maybeLab/openai-mr-reviewer-gltlab that referenced this pull request Jun 25, 2023
<!-- This is an auto-generated comment: release notes by openai -->
### Summary by OpenAI

New Feature: The bot can now reply to top-level comments on a
conversation chain on a code review diff, if the comment starts with
"@openai". This functionality has been added to `src/review-comment.ts`,
along with error handling and warning messages.
<!-- end of auto-generated comment: release notes by openai -->
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant