coderabbitai / ai-pr-reviewer

AI-based Pull Request Summarizer and Reviewer with Chat Capabilities.
https://coderabbit.ai
MIT License
1.42k stars 261 forks source link

remove goal of this pr from prompts #386

Closed harjotgill closed 11 months ago

harjotgill commented 11 months ago

Summary by OpenAI

Refactor:

🎉 Here's to the words we weave, 📝 Now with more space to breathe. 🌬️ No longer confined by a cap, 🚫 Our summaries now have no gap. 🌉 So let's celebrate this change, 🥳 To our code, it may seem strange, 💻 But it's a step towards the range, 📈 Of better quality in exchange! 🔄🎉

github-actions[bot] commented 11 months ago

:robot: OpenAI

High-level Summary

This PR primarily focuses on modifying the prompt generation logic in src/prompts.ts. The changes include an alteration of the summarizeShort variable to exclude the goal of the PR from the prompts and an increase in the maximum word limit for summaries from 250 to 500 words. These modifications, while seemingly minor, could potentially impact the system's behavior and should be thoroughly reviewed.

Files Changed Summary
src/prompts.ts The summarizeShort variable has been modified to remove the PR goal from the prompts. The maximum word limit for the summary has also been increased from 250 to 500 words. This could potentially affect the overall behavior of the code.

Chat with 🤖 OpenAI Bot (@openai)

Code suggestions

Ignoring further reviews


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 45f132dc445969f7e03e85c98d6760ee97dcea6e and 27671a253b49a462de29b99bcefc508b452b14f0 commits were reviewed.