— 'OPENAI_API_KEY' name is invalid, it should be either 'OCO_OPENAI_API_KEY' or it doesn't exist.
— Manually fix the '.env' file or global '~/.opencommit' config file.
can't set the API KEY, even when i execute the command
Just open the file path C:\Users\<username>\.opencommit and replace OPENAI_API_KEY with OCO_OPENAI_API_KEY, and emoji with OCO_EMOJI. This worked for me.
Opencommit Version
2.2.10
Node Version
16.14.0
NPM Version
9.6.5
What OS are you seeing the problem on?
Windows
What happened?
every command is outputting the same error:
can't set the API KEY, even when i execute the command
I'm getting the same error.
Expected Behavior
Set the APIkey
Current Behavior
Unable to Set the APIkey
Possible Solution
No response
Steps to Reproduce
No response
Relevant log output
No response