fix: catching Anthropic and other exceptions from ALTK.#10790
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughException handling in CodeGenerationComponent execution paths has been broadened from specific exception types (AttributeError, TypeError, ValueError, RuntimeError) to a general Exception. Errors are logged and execution continues, altering error survivability behavior. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Pre-merge checks and finishing touchesImportant Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (3 warnings, 1 inconclusive)
✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
A quick fix for Anthropic or other model inference exceptions raised from ALTK for the ALTKAgent.
A better strategy is to create a new ALTK exception type and catch that. But in the light of other ALTK dependency problems, this is a shorter term fix.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.