Skip to content
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

Problem recognizing API key #9

Open
Meali0 opened this issue Jan 1, 2023 · 1 comment
Open

Problem recognizing API key #9

Meali0 opened this issue Jan 1, 2023 · 1 comment

Comments

@Meali0
Copy link

Meali0 commented Jan 1, 2023

Happy new year! I'm a bit lost setting this program up on my computer, I created a .env with the required API key in my local copy, though trying to interact with the bot in any way aside from giving it its context causes the bot to crash with the following output:

minecraft-openai.api:error ERROR: CODEX_API_KEY is required.
[nodemon] app crashed - waiting for file changes before starting...

I'm not super savvy with this sort of stuff, so I assume its something fairly obvious which I am getting wrong. In any case, help is much appreciated!

Edit: Fixed the issue, I named the file with the api key incorrectly, very simple fix. Thanks anyway!

@Gidra007
Copy link

Gidra007 commented Jul 6, 2024

and how do I name the file?, I have the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants