-
Notifications
You must be signed in to change notification settings - Fork 378
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
Unable to Set OpenAI API Key #258
Comments
I am encountering this bug too. When I use |
Ay, I have the same issue and I still can't find from where the OPENAI_KEY variable is set. And .aicommits config does not seem to be taken into account with my new OpenAI API key. |
What's the state about this issue? I'm having the same issue and can't identify where the OPENAI_KEY is defined. |
Okay, for which reason it was configured with export OPENAI_KEY=XYZ in my .zshrc ... nevermind ;) |
Bug description
I reinstalled aicommits globally using pnpm (8.11.0) and added the OpenAI_KEY in the settings. However, when I attempted to make a git commit using aicommits, I encountered an OpenAI API Error: 401 - Unauthorized message.
Expected Behavior: Should be able to generate commit messages normally through aicommits.
aicommits version
1.11.0
Environment
Can you contribute a fix?
The text was updated successfully, but these errors were encountered: