Closed Batyan45 closed 1 day ago
Thanks for trying aider and filing this issue. There was a bug introduced in a recent change to how aider loads .env
files. I just pushed a fix.
The change is available in the main branch. You can get it by installing the latest version from github:
python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git
If you have a chance to try it, let me know if it works better for you.
Works great, thanks!
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.
Issue
In Aider 0.38.0, I was able to set the OPENAI_API_KEY and OPENAI_API_BASE variables in the .env file and load them using the "env-file" field in the .aider.conf.yml file.
For 0.39.0 it is not working:
Can it be fixed?
Version and model info
Aider v.0.39.0