Repository navigation
chore: add error log on model prediction failure - #2053
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.
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