Closed soferreira closed 1 year ago
I am testing like this:
python3 main.py local
I have this issue:
% python3 main.py local
Traceback (most recent call last):
File "/Users/saverioproto/go/src/github.com/zioproto/github-issues-ai-assistant/main.py", line 99, in <module>
run_github_action()
File "/Users/saverioproto/go/src/github.com/zioproto/github-issues-ai-assistant/main.py", line 70, in run_github_action
issue_number = os.environ["INPUT_ISSUE_NUMBER"]
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "<frozen os>", line 679, in __getitem__
KeyError: 'INPUT_ISSUE_NUMBER'
Needs a .env file with: INPUT_OPENAI_API_BASE and INPUT_OPENAI_API_KEY