aicommits
aicommits copied to clipboard
Prompt fine-tuning
Feature request
It's great to have a properly predefined prompt, but I think it make sense to let users fine-tune provided prompt. For instance, the current suggested commit always starts with a capital letter which I'd like to avoid. So, as I user I want to provide extra instructions to GPT and guide how my commit messages should look like. There are a lot of other use cases where it might be useful.
Example API:
$ aicommits -p "Start commit message from lowercase letter"
$ aicommits --prompt "Don't mention config changes"
$ aicommits -p "Make an accent on user module"
or it can be defined as a global instruction, like
$ aicommits config set prompt="Start commit message from lowercase letter. Put details into the commit body"
Why?
This feature gives me more control over GPT responses and lets me tailor aicommits
to my needs. Also, I think this feature unleashes more powerful features which we might don't expect how it could be used
Alternatives
No response
Additional context
No response
@KostyaZgara I've created a new project with your requests. If you're interested, please check it out! https://github.com/tak-bro/aicommit2