feat: add ai-powered commit message helpers#2696
feat: add ai-powered commit message helpers#2696yasunogithub wants to merge 3 commits intogitui-org:masterfrom
Conversation
|
@yasunogithub Do you know how other CLI tools interface with LLMs? Is your approach in this PR inspired by similar approaches in other tools? |
@cruessler
Our approach is simple but flexible - we execute any shell command you configure. So you could:
The template variables like {staged_diff} give the commands git context, and the RON config lets you set up multiple helpers with hotkeys. I chose this approach because any CLI command works - users aren't locked into specific LLM providers or APIs. Want to try a new AI |
|
Thanks for the context! I was mainly asking in order to avoid reinventing the wheel in case there are already existing patterns out there. |
Thanks, I agree—this implementation is simple but still consistent with the common patterns, so I don't feel like reinventing the wheel. |
This Pull Request fixes/closes #{issue_num}.
It changes the following:
RON-based commit helper system supporting multiple helpers
smooth spinner animations for background execution
{branch_name}) for flexible command customization and improved
error handling
I followed the checklist:
make checkwithout errors