Replies: 3 comments 10 replies
-
Typically I just write the message but I like proofing it. For that I just use the available tooling. For Sublime, https://packagecontrol.io/packages/OpenAI%20completion is probably the standard AI helper. I would not like to re-implement anything from it, but calling a function/command and using its outcome would be nice. Let's invite @yaroslavyaroslav Is there a function in OpenAI -- or one that you can think of providing -- that given a prompt and a StringIO/buffer fills that buffer with an answer from an AI so that we can either spell check a given commit message or write a commit message from a given diff (etc). |
Beta Was this translation helpful? Give feedback.
-
https://github.com/TerminalFi/LSP-copilot is probably the bridge we want there as it won't require an additional API key from OpenAI filled with credits. Under the hood we need to copy the output of the |
Beta Was this translation helpful? Give feedback.
-
FYI: Package Control team have added my ST compatible rust/python package to the dependencies list. So you're free to leverage on it to reach llm from within your plugin. The api to perform a call is quite straightforward: https://github.com/yaroslavyaroslav/ai_helper/blob/c21ea6369bb0f5f205a457bbe6da75ba49f6e13d/tests/test_worker_python.py#L79-L114 PS: During the a few forthcoming weeks breaking changes could appear within the API, but then I assume it to be quite stable in a long term. |
Beta Was this translation helpful? Give feedback.
-
I catch myself often jumping to vscode for generating a commit message using Copilot (Claude 3.5 at the time). How do you guys handle commit message generation? Is this something that is on the Roadmap for GitSavvy?
Beta Was this translation helpful? Give feedback.
All reactions