You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@di-sukharev rather than create a new issue I believe it's correct to reopen this as a regression? Still have ollama set up so should not need these api keys.
$ git commit
✔ Preparing lint-staged...
✔ Running tasks for staged files...
✔ Applying modifications from tasks...
✔ Cleaning up temporary files...
┌ opencommit
│
└ No OCO_API_KEY is set. Set your key via `oco config set OCO_API_KEY=<value>. For more info see https://github.com/di-sukharev/opencommit
Opencommit Version
3.0.17
Node Version
18.18.2
NPM Version
9.8.1
What OS are you seeing the problem on?
Other Linux Distro
What happened?
I used
oco hook set
to install the prepare commit msg hook and tried to rungit commit
, which produced the following error message:Simply running
oco
does work as expected but I'd like to be able to edit the commit message.This is my .opencommit config:
Expected Behavior
Generates a commit message and opens my $EDITOR to allow me to modify the message before commiting.
Current Behavior
Commit gets interrupted with the message above.
Possible Solution
Unify config handling between hook and regular command mode.
Steps to Reproduce
oco config set OCO_AI_PROVIDER=ollama
oco hook set
git commit
Relevant log output
No response
The text was updated successfully, but these errors were encountered: