The model that this test uses is no longer available online. [1] [2]
Per the upstream commit, claude-sonnet-4-6 is a suitable replacement
so use that instead.
[1]: https://github.com/BerriAI/litellm/pull/23400
[2]: c9f7075690
The model that this test uses is no longer available online. [1] [2]
Per the upstream commit, the only known suitable replacement is
gpt-4-0613, which the test already uses.
Hence, remove gpt-4-32k from the test without any replacement.
[1]: https://github.com/BerriAI/litellm/pull/20795
[2]: 15075ef9ec
Path.resolve() raises RuntimeError on circular symlinks. Catch
RuntimeError and OSError, fall back to Path.absolute().
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The `google-generativeai` package is deprecated, and emits warnings when
it's imported. I'm doing some cleanup work to remove it from popular
surfacess, so here's a PR :)
I'll note that `litellm` uses direct HTTP requests for the API, so it
does not use `google-genai` (except for type checking) or
`google-generativeai` (except for a deprecated PaLM codepath).
In an attempt to fix issue #4615 [1], commit 656301c [2] introduces a
regression where running the `coder` feature raises the following error:
> TypeError: catching classes that do not inherit from BaseException is not allowed
The primary misunderstanding that caused the regression is the fact that
`ErrorEventError` sounds like an error class that needs to be included
in the exceptions list. In reality, however, the name `ErrorEventError`
is just a coincidence and actually belongs to a regular class, which
doesn’t have `BaseException` in its chain of base classes.
Current Python versions raise a `TypeError` at runtime if you try to
include such a class name in an `except` clause, which explains why the
error shows up.
Narrow down the filter so it only tries to include actual exception
classes and excludes classes like `ErrorEventError`.
Also remove `ErrorEventError` from the exception list.
Fixes issue #4615 [1] and #4724 [3]. Reverts commit 656301c [2].
[1]: https://github.com/Aider-AI/aider/issues/4615
[2]: 656301cc87
[3]: https://github.com/Aider-AI/aider/issues/4724