* docs(README.md): add reminder to add payment details to OpenAI API key

* docs(api.ts): update error message to remind user to add payment details to OpenAI API key
* refactor(cli.ts): remove unused import
* refactor(config.ts): update error message to use outro instead of throwing an error and exit the process

* chore(generateCommitMessageFromGitDiff.ts): add console.log for error debugging
This commit is contained in:
di-sukharev
2023-03-11 13:23:46 +08:00
parent 8fe382a072
commit b35a393152
5 changed files with 8 additions and 17 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ All the commits in this repo are done with OpenCommit — look into [the commits
npm install -g opencommit
```
2. Get your API key from [OpenAI](https://platform.openai.com/account/api-keys)
2. Get your API key from [OpenAI](https://platform.openai.com/account/api-keys). Make sure you add payment details, so API works.
3. Set the key to opencommit config: