-
Notifications
You must be signed in to change notification settings - Fork 537
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
GitHub action fails coz OpenAI API Key's Key was changed(probably) #527
Comments
I have had the PR agent working and today I discovered this regression. |
thanks for the feedback. looking into this |
(p.s - you can work against a stable docker, like v0.11, to avoid this) |
#528 should fix it. Thanks for reporting cc. We needed lazy initialization, otherwise it becomes a race for when the configuration is loaded. |
I get this error when I run pr agent as a GH Action:
openai.error.AuthenticationError: No API key provided. You can set your API key in code using 'openai.api_key = ', or you can set the environment variable OPENAI_API_KEY=). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = '. You can generate API keys in the OpenAI web interface. See https://platform.openai.com/account/api-keys for details.
The text was updated successfully, but these errors were encountered: