aider
aider copied to clipboard
Fix gemini weak model
Added graceful fallback for weak model when not found
Changes
- Modified
get_weak_model()inmodels.py:- Added a try-except block around the creation of the weak model.
- If the weak model is missing (404), a warning is printed and
self.weak_modeldefaults to the main model.
- Ensures that Aider continues to work even if the weak model is unavailable.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.