-
Notifications
You must be signed in to change notification settings - Fork 599
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
Add focus_only_on_problems setting for targeted code suggestions #1348
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
enhancement, configuration changes
Description
focus_only_on_problems
to allow targeted code suggestions focusing on critical issues.focus_only_on_problems
and increasedmax_context_tokens
to 16000.Changes walkthrough 📝
pr_code_suggestions.py
Introduce focus-only-on-problems setting and label adjustment
pr_agent/tools/pr_code_suggestions.py
focus_only_on_problems
setting to filter suggestions.critical labels.
pr_code_suggestions_prompts.toml
Conditional prompt logic for focused problem suggestions
pr_agent/settings/pr_code_suggestions_prompts.toml
focus_only_on_problems
in prompts.configuration.toml
Update configuration with focus setting and token limit
pr_agent/settings/configuration.toml
max_context_tokens
from 14000 to 16000.focus_only_on_problems
setting with default false.