Skip to content

Conversation

@Dharunika-07-N
Copy link

Added graceful fallback for weak model when not found

Changes

  • Modified get_weak_model() in models.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_model defaults to the main model.
  • Ensures that Aider continues to work even if the weak model is unavailable.

@CLAassistant
Copy link

CLA assistant check
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants