-
Notifications
You must be signed in to change notification settings - Fork 590
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
Handle OPENAI_KEY not set error in github_action_runner.py #858
Conversation
PR Description updated to latest commit (4c83bf6)
|
PR Review
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
looks good |
User description
Fixes #855
Type
bug_fix
Description
OPENAI_KEY
environment variable ingithub_action_runner.py
to allow the GitHub Action runner to proceed even if theOPENAI_KEY
is not set. This change accommodates scenarios where users might be using models not provided by OpenAI.OPENAI_KEY
is not set, enhancing the user experience by clarifying the non-critical nature of this environment variable for certain use cases.Changes walkthrough
github_action_runner.py
Improved Handling of Missing `OPENAI_KEY` Environment Variable
pr_agent/servers/github_action_runner.py
OPENAI_KEY
environment variable to allowthe GitHub Action runner to proceed without it being set.
OPENAI.KEY
only ifOPENAI_KEY
ispresent.
OPENAI_KEY
is not set,indicating the possibility of using models not from OpenAI.