Skip to content

Conversation

@krrishdholakia
Copy link

Hi @h0x91b,

Notice you forked Aider. if you're trying to test other LLMs (codellama, wizardcoder, etc.) with it, I just wrote a 1-click proxy to translate openai calls to huggingface, anthropic, togetherai, etc. api calls.

code

$ pip install litellm

$ litellm --model huggingface/bigcode/starcoder

#INFO:     Uvicorn running on http://0.0.0.0:8000

$ aider --openai-api-base http://0.0.0.0:8000

I'd love to know if this solves a problem for you

muravvv and others added 30 commits June 1, 2025 22:31
Fix issues on repositories with non-Unicode encodings
I've been using Qwen3 with reasoning disabled via a /no_think in the
system prompt prefix. I found that the commit message generation was
ignoring this setting. This change updates the commit message generation
loop to incorporate that setting if defined.
Use system prompt prefix for commit messages
fix: Correct Vertex AI model name prefixes in settings
muravvv and others added 30 commits October 5, 2025 20:54
the same instruction included in {final_reminders}
Co-authored-by: aider (gemini/gemini-3-pro-preview) <[email protected]>
Co-authored-by: aider (gemini/gemini-3-flash-preview) <[email protected]>
Co-authored-by: aider (gemini/gemini-3-flash-preview) <[email protected]>
Co-authored-by: aider (gemini/gemini-3-flash-preview) <[email protected]>
Co-authored-by: aider (gemini/gemini-3-flash-preview) <[email protected]>
In an attempt to fix issue Aider-AI#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 Aider-AI#4615 [1] and Aider-AI#4724 [3]. Reverts commit 656301c [2].

[1]: Aider-AI#4615

[2]: Aider-AI@656301c

[3]: Aider-AI#4724
…t-regression

Fix regression in the LiteLLM exception list
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.