Builds a smart commit message using LLMs
Project description
Smart Commit Msg
A tool that creates smart commit messages using the git diff.
Usage
Install the CLI
$ pip install smart-commit-msg
Go to a git repository
$ git add .
$ smart-commit-msg
Smart commit msg gives you a commit message based on the staged changes.
Tool Help
NAME
smart-commit-msg - Main function that orchestrates the commit message generation and user interaction.
SYNOPSIS
smart-commit-msg <flags>
DESCRIPTION
Main function that orchestrates the commit message generation and user interaction.
FLAGS
--model=MODEL
Default: 'meta-llama/Llama...
--max_tokens=MAX_TOKENS
Default: 100
Models
This tool uses the huggingface_hub.InferenceClient API. So you can use all the models that support
the inference endpoints!
To know more about inference endpoints please read the official documentation.
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smart_commit_msg-0.1.1.tar.gz
(53.0 kB
view hashes)
Built Distribution
Close
Hashes for smart_commit_msg-0.1.1-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 536aa4e2f589083c43b1f861e8dd251cd5385d3a4221bc237e477b090afca024 |
|
| MD5 | a6808a16ea9fb63e4e1755da7dbe3f5a |
|
| BLAKE2b-256 | e034e5177babc4efef46842980c760ed5adc66a94d3cca0b2ca61378147fa9d6 |