gpt-commit
gpt-commit copied to clipboard
Generate conventional commit messages using GPT.
It'd be great if there's a way to pull api keys from `.authinfo`. An added benefit is that if that file is encrypted with gpg, emacs will handle that transparently....
Instead of manually handling OpenAI apis, using gptel to do the heavy-lifting may make more sense. Additionally, this would let other models/platforms to be used (e.g., ollama).
At the minute the prompt is hard-coded and changing it requires the use of less-ideal approaches like `add-advice`. Sometimes the prompt returns undesirable output, for example: - commit message over...
Unless the commit is a very very very small one (a few lines in a single file), I always get this error: `Error: (error http 400) ((error (message . This...