This is a small plugin for Simon Willison’s llm utility. It uses staged Git changes and generates a commit message using a LLM.
You can do things like:
git add . # Stage your changes
llm commit # Automatically generate a commit message from the staged diff
llm commit --model gpt-4 --max-tokens 150 --temperature 0.8 --yes # Customize model settings (e.g., GPT-4) or skip confirmation