Closed paivaric closed 1 year ago
You are typing the command incorrectly.
Instead of
opencommit config set sk-iQixtQCJ61k8jbqsENVnT3Bl****************
it should be
opencommit config set OPENAI_API_KEY=<your_api_key>
In your case, it should be
opencommit config set OPENAI_API_KEY=sk-iQixtQCJ61k8jbqsENVnT3Bl****************
@paivaric but make sure you change ***** with real numbers. You basically need to get API key from openAI and paste it instead of <your_api_key>
in opencommit config set OPENAI_API_KEY=<your_api_key>
are we done here?
@di-sukharev The ** are to mask the real key. I put the right one when configuring.
Error running config api key command:
opencommit config set sk-iQixtQCJ61k8jbqsENVnT3Bl****
┌ opencommit — config │ └ ✖ Error: Unsupported config key: sk-iQixtQCJ61k8jbqsENVnT3Bl****