Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

are the default improve / review prompts optimized in the pro version? #1483

Open
why-el opened this issue Jan 24, 2025 · 3 comments
Open

are the default improve / review prompts optimized in the pro version? #1483

why-el opened this issue Jan 24, 2025 · 3 comments

Comments

@why-el
Copy link

why-el commented Jan 24, 2025

Hi there,

I looked at the examples in your configuration, for instance this one for the reviewer prompt. They look great and detailed.

My question is: for Pro users, are /review, /describe, or /improve further optimized like the above or are the prompts simpler / in need for further tweaking?

Asked differently, what is the default prompt that pr-agent PRO uses for the tools and how good / detailed is it?

@mrT23
Copy link
Collaborator

mrT23 commented Jan 25, 2025

The default prompt in the pro version is similar, but there are additional features there, like best practices (and auto best practices), ticket compliance (JIRA), custom labels, suggestion tracking, and others, that enable more customization extra abilities, resulting in further improving the quality.

@mrT23
Copy link
Collaborator

mrT23 commented Jan 28, 2025

/answer_issue

@mrT23
Copy link
Collaborator

mrT23 commented Jan 28, 2025

Question:

Hi there, I looked at the examples in your configuration, for instance this one for the reviewer prompt. They look great and detailed. My question is: for Pro users, are /review, /describe, or /improve further optimized like the above or are the prompts simpler / in need for further tweaking? Asked differently, what is the default prompt that pr-agent PRO uses for the tools and how good / detailed is it?

Answer:

Qodo Merge (PR-Agent Pro) uses the same detailed and optimized prompts as the open-source version for the core tools (/review, /describe, /improve). However, Qodo Merge provides additional benefits that enhance the effectiveness of these tools:

  1. Model Selection: Qodo Merge uses a combination of Claude-3.5-sonnet and GPT-4 models by default, which are top-performing models for code analysis.

  2. Enhanced Context: Qodo Merge implements advanced context handling through features like dynamic context extension and metadata injection, which helps the models better understand the code changes.

  3. Auto Best Practices: Qodo Merge can learn from previously accepted suggestions to automatically generate and apply repository-specific best practices, making the suggestions more relevant over time.

So while the base prompts are the same, Qodo Merge enhances their effectiveness through better model selection, context handling, and learning capabilities.

Relevant Sources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants