-
Notifications
You must be signed in to change notification settings - Fork 1.2k
chore: add error log on model prediction failure #2053
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
Conversation
PR Compliance Guide 🔍(Compliance updated until commit a194ca6)Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label Previous compliance checksCompliance check up to commit be93651
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Latest suggestions up to a194ca6
Previous suggestions✅ Suggestions up to commit be93651
|
||||||||||||||||||||||||
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
ofir-frd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @yamoyamoto , approved!
User description
Add error message to logging for model prediction failures in retry_with_fallback_models, capturing the exception message.
I’m currently encountering PR-Agent issue #2042 and need richer logs to investigate. No functional changes; logging-only.
PR Type
Enhancement
Description
Add exception details to model prediction failure logs
Improve error handling in
retry_with_fallback_modelsfunctionCapture specific exception messages for debugging purposes
Diagram Walkthrough
File Walkthrough
pr_processing.py
Enhanced exception logging in retry functionpr_agent/algo/pr_processing.py