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

Update prompts #408

Closed harjotgill closed 11 months ago

harjotgill commented 11 months ago

Summary by CodeRabbit

New Feature:

🎉 Code's evolving, growing so fine, 🌱

With every pull request, it shines. ✨

Mobile simulation, parsing delight, 📱🎁

Our codebase takes an exciting flight! 🚀

github-actions[bot] commented 11 months ago

Image description CodeRabbit

Walkthrough: This update introduces a new Mobile struct in the Go codebase, simulating basic operations of a mobile device. In the TypeScript project, it refines the line number range format and enhances the patch parsing function to handle context lines more effectively. It also includes promotional content for the Pro version of the project.

Changes:

Files Summary
mobile.go Introduced a Mobile struct representing a mobile device with methods for turning on/off, using, and charging the device. The main function demonstrates these operations.
src/prompts.ts, src/review.ts Updated line number range format in prompts.ts. Enhanced parsePatch function in review.ts to handle context lines better. Added promotional content for the Pro version of the project.

Notes ### Chat with Image description CodeRabbit Bot (`@coderabbitai`) - 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 `@coderabbitai` 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 `@coderabbitai: ignore` anywhere in the PR description to ignore further reviews from the bot. ### Support us :) If you like this project, please support us by purchasing the [Pro version](https://coderabbit.ai)! The Pro version has advanced context and several proprietary improvements compared to the open source version.