-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Set OPENAI_API_KEY/OPENAI_API_BASE in .env file #706
Comments
Thanks for trying aider and filing this issue. There was a bug introduced in a recent change to how aider loads The change is available in the main branch. You can get it by installing the latest version from github:
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
The text was updated successfully, but these errors were encountered: