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

update prompt #138

Merged
merged 1 commit into from
Apr 8, 2023
Merged

update prompt #138

merged 1 commit into from
Apr 8, 2023

Conversation

harjotgill
Copy link
Contributor

@harjotgill harjotgill commented Apr 8, 2023

Summary by OpenAI

Release Notes:

  • Refactor: Changes made to improve the code review process, including a new format that allows for multiple comments per hunk and suggests using fenced code blocks for complete code suggestions.
  • Bug fix: src/review.ts file updated to remove the ChatGPTError import and catch all exceptions with a warning message. It also modifies the code to handle comment chains and adds a new parameter to a function call.

"Code review made better,
With multiple comments per hunk,
Bugs fixed and code improved,
Celebrate with a happy funk!"

@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2023

🤖 OpenAI

Thank you for letting me participate in the code review. I have reviewed the changes made to the code and provided a summary of the changes below.

The pull request introduces changes to improve the code review process. The new format allows for multiple comments per hunk and suggests using fenced code blocks for complete code suggestions. Reviewers are asked to thoroughly reflect on the code and identify issues or provide improvement suggestions. Additionally, the src/review.ts file has been updated to remove the ChatGPTError import and catch all exceptions with a warning message. It also modifies the code to handle comment chains and adds a new parameter to a function call.

Here is a table summarizing the changes made to each file:

File Summary
action.yml Changes to the format and instructions for reviewing code in a pull request. The new format allows for multiple comments per hunk and suggests using fenced code blocks for complete code suggestions. Reviewers are asked to thoroughly reflect on the code and identify issues or provide improvement suggestions.
src/review.ts Removes the ChatGPTError import and catches all exceptions with a warning message. Modifies the code to handle comment chains and adds a new parameter to a function call.

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.

Files ignored due to filter (1)

Ignored files

  • dist/index.js

@harjotgill harjotgill merged commit 89e3721 into main Apr 8, 2023
@harjotgill harjotgill deleted the prompt_update branch April 8, 2023 03:26
shoyuf pushed a commit to maybeLab/openai-mr-reviewer-gltlab that referenced this pull request Jun 25, 2023
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