opencommit
opencommit copied to clipboard
Generate conventional git commit messages with AI in 1 second 🤯🔫
removes the `top_p` parameter if the configured model string contains `-4-5`. this fixes #520 , where opencommit will fail because Anthropic does not support *both* `temperature` and `top_p` for their...
The option OCO_HOOK_AUTO_UNCOMMENT introduced in https://github.com/di-sukharev/opencommit/pull/494 cannot be set using `oco config set OCO_HOOK_AUTO_UNCOMMENT=true`. This PR fixes the issue to correctly update `.opencommit`.
## Why is this PR needed? I encountered an issue when using the prepare-commit-msg hook to automatically generate commit messages. When an API call to the AI provider fails, the...
### Opencommit Version 3.2.10 ### Node Version 24.10 ### NPM Version 11.6.0 ### What OS are you seeing the problem on? Mac ### What happened? I would say 90% of...
## Problem When generating `.opencommit-commitlint` configuration with `OCO_LANGUAGE=zh_TW` (or other non-English languages), the LLM was generating consistency examples in English instead of using the translated content from the corresponding i18n...
This PR fixes test failures caused by environment variables from the user's .env file interfering with test expectations. ## Changes Made - **Jest Global Hooks**: Added `globalSetup` and `globalTeardown` to...
Add the assertGitRepo() check earlier in the commit pipeline to display: ``` — ✖ Error: Command failed with exit code 128: git rev-parse fatal: not a git repository (or any...
✨ (openAi.ts): introduce support for new GPT-5 models and adjust temperature setting based on model type to enhance AI response variability
### Opencommit Version 3.2.10 ### Node Version 20.19.3 ### NPM Version 10.8.2 ### What OS are you seeing the problem on? Mac ### What happened? When generating a commit message...
### Opencommit Version 3.2.10 ### Node Version v22.14.0 ### NPM Version 9.8.1 ### What OS are you seeing the problem on? Mac ### What happened? Got this error when trying...