aoc-gpt icon indicating copy to clipboard operation
aoc-gpt copied to clipboard

Runtime

Open ghost opened this issue 2 years ago • 4 comments

Hi When I run the code in the openai.py file from my terminal the terminal just blanks out and doesn't have any response. I've added the environment key and installed the aoc-cli through winget as suggested. Is there something I need to change in the code itself? I am running it from my downloads folder.

Here is a screenshot

Screenshot 2022-12-05 181948

ghost avatar Dec 06 '22 00:12 ghost

It looks like something is up with the setup — --date is not a valid option (should be --day) and so that should raise an error. It does on my end.

I just pushed a change that prints something on running, so we can at least see whether it's starting or not.

For transparency, I'm not really supporting this, and so likely won't be here to debug with you. But others are welcome to comment.

max-sixty avatar Dec 06 '22 01:12 max-sixty

Thanks for the response, and I understand. Sorry for that, that was a typo on my end. I did day now and nothing happened (same response)

DanGamer56 avatar Dec 06 '22 01:12 DanGamer56

Upon manually exiting from it, I receive a bunch of timeout lines from packages in the python files, so I don't know why there is no response (even with the updated code)

DanGamer56 avatar Dec 06 '22 01:12 DanGamer56

OK — if you want to explore further, feel free to add some print / logging statements to see what's happening. It's possible some subprocess isn't making progress, maybe because of some API key issue.

max-sixty avatar Dec 06 '22 01:12 max-sixty