We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.0.17
18.18.2
9.8.1
Other Linux Distro
I used oco hook set to install the prepare commit msg hook and tried to run git commit, which produced the following error message:
oco hook set
git commit
┌ opencommit │ └ ✖ Error: No OPEN_AI_API or OCO_ANTHROPIC_API_KEY or OCO_AZURE_API_KEY exists. Set your key in ~/.opencommit
Simply running oco does work as expected but I'd like to be able to edit the commit message.
oco
This is my .opencommit config:
OCO_DESCRIPTION=false OCO_EMOJI=false OCO_LANGUAGE=en OCO_MESSAGE_TEMPLATE_PLACEHOLDER=$msg OCO_PROMPT_MODULE=conventional-commit OCO_AI_PROVIDER=ollama OCO_GITPUSH=false OCO_ONE_LINE_COMMIT=false OCO_TEST_MOCK_TYPE=commit-message
Generates a commit message and opens my $EDITOR to allow me to modify the message before commiting.
Commit gets interrupted with the message above.
Unify config handling between hook and regular command mode.
oco config set OCO_AI_PROVIDER=ollama
No response
The text was updated successfully, but these errors were encountered:
merged, will be released in 3.1.0 today
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
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: