-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
litellm.exceptions.APIConnectionError: list index out of range #576
Comments
Thanks for trying aider and filing this issue. Are you using any sort of firewall or proxy that might be interfering with the Gemini API? As best I can tell, it looks like invalid responses are coming back from the API. |
The only thing I use along those lines is Netguard- a per-app firewall/internet permission manager. It shouldn't have affected it though because the app that aider is running in (Termux) has full access. Additionally I used aider successfully with other projects with this network config. |
Hey @sudomain i've seen this with gemini before. I believe it's a misdirect b/c the responses often work on retrying. I'll map this error correctly |
I think this has been resolved in recent versions of litellm/aider. I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time. |
I get this error when trying to get aider to convert a ~50 line Bash script to Python. My Aider is installed via pipx in a Debian PRoot running in Termux.
The text was updated successfully, but these errors were encountered: