Comments (6)
This could possibly be implemented via #70, but with the addition of re-generating the commit message based on user feedback.
from opencommit.
@robellegate thanks for that! do you want to make a PR? I would play instead with the few-shot examples in the prompt, maybe it can be solved more UX friendly.
if not — I dont think #70 is the way to go, cause we have oco hook set
which allows you to edit messages in your IDE of choice when running git commit
(with no -m
flag) or any alias you have
if there is no easier way — we could do something like this:
- create a config
ASK_PURPOSE=boolean
, defaultfalse
- if
ASK_PURPOSE=true
=> before going to openAI api for the message we prompt user for sharing the purpose
from opencommit.
Then it would ask the purpose for every commit... I'd rather have something that's set per-commit.
from opencommit.
from opencommit.
That's why I thought an optional argument would be the best solution. However, I could also see this working with improved UI/UX with an edit option that opens up a conversational chat where the changes the user wants made to the commit message are done via chat instead of direct editing of the commit message.
It seems a better option. That doesn't seem complex to implement given cleye
documentation, @robellegate would you like to push a PR?
from opencommit.
Stale issue message
from opencommit.
Related Issues (20)
- [Feature]: Support Custom API Key Formats and Server Addresses HOT 6
- [Feature]: Add '--yes' or '-y' option to automatically accept AI generated commit messages HOT 3
- Proposal for Expanding Maintenance Team HOT 17
- [Feature]: Custom Commit Messages with OpenAI Enhancement (-m Flag) HOT 3
- [Feature]: minimalistic output HOT 3
- Is this project alive? HOT 2
- [Bug]: Ollama documentation is incorrect
- [Bug]: ollama output erroneously considers sample data HOT 2
- [Feature]: Make ollama hostname configurable HOT 1
- [Feature]: Use different file type instead .env for local configuration HOT 1
- [Feature]: Perplexity Support HOT 5
- [Feature]: Add Gemini Support HOT 1
- [Bug]: Unable to use oco with ollama running mistral HOT 5
- [Bug]: Local Ollama with OpenCommit not working when internet is blocked HOT 5
- [Feature]: Claude 3 Support HOT 3
- [Bug]: Unsupported config key `OCO_MODEL` error when using `oco` command HOT 13
- [Bug]: Setting `OCO_ONE_LINE_COMMIT=true` generates a multi-line message HOT 1
- [Bug]: Request failed with status code 404 HOT 1
- [Feature]: add oco at Docker hub HOT 1
- [Bug]: ✖ Unsupported config key OCO_OPENAI_API_KEY: Must be 51 characters long
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencommit.