-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Bug report for "data:" being unrecognized by aider #3129
Comments
It looks like something is removing "data:" in gemini flash thinking responses. I don't see any indication of this in the Aider codebase |
I think it must be something in the aider codebase (or dependencies), because the problem is not reproducible in any other environment. Steps to reproduce:
Aider responds with: The issue does not reproduce in the playground, nor via raw API:
Response:
Does aider have settings for logging the raw API request/response? If yes, I would be happy to enable it to confirm that the raw model response is correct. |
OK I debugged aider and noticed that I could not reproduce the issue when I turned streaming off (which I did to make debugging simpler). So this means we at least have a workaround: I dug a little more and it seems like its a liteLLM issue. See: The above issue points at the problematic code here: |
Aider version: 0.73.0
Python version: 3.12.8
Platform: Windows-11-10.0.26100-SP0
Python implementation: CPython
Virtual environment: Yes
OS: Windows 11 (64bit)
Git version: git version 2.47.1.windows.2
Aider v0.73.0
Model: gemini/gemini-2.0-flash-thinking-exp with diff edit format
Git repo: .git with 47 files
Repo-map: using 4096 tokens, auto refresh
data: is not processed by aider.
The text was updated successfully, but these errors were encountered: