-
Notifications
You must be signed in to change notification settings - Fork 637
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
fix: improve line extraction from files with missing content #1420
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
/help "Is the Gemini Flash 2.0 model supported using Google AI Studio?" |
Question:Is the Gemini Flash 2.0 model supported using Google AI Studio? Answer:Yes, Google AI Studio models including Gemini-1.5-flash can be used with Qodo Merge. To use it, you need to:
[config]
model="google_ai_studio/gemini-1.5-flash"
fallback_models=["google_ai_studio/gemini-1.5-flash"]
[google_ai_studio]
gemini_api_key = "..." Or as an environment variable: GOOGLE_AI_STUDIO.GEMINI_API_KEY Relevant Sources: |
PR Type
Bug fix, Enhancement
Description
Changes walkthrough 📝
git_patch_processing.py
Add error handling to hunk line extraction process
pr_agent/algo/git_patch_processing.py
logic
utils.py
Enhance line extraction with patch-based fallback
pr_agent/algo/utils.py
is missing