Package Exports
- llm-commit
- llm-commit/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (llm-commit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
LLM Commit
Turn diffs into somewhat accurate commit messages
Setup
Run llm-commit --help
to see a list of options
.env
Looks for a .env file in the project root
Follows https://sdk.vercel.ai/providers/ai-sdk-providers defaults, for example
ANTHROPIC_API_KEY=sk-hunter2
Ignoring Files
The code runs git diff --staged
internally which respects .gitignore. To run on unstaged commits pass in --unstaged or -u
https://harper.blog/2024/03/11/use-an-llm-to-automagically-generate-meaningful-git-commit-messages/ basic idea