Comments (3)
This problem may be reduced a lot by setting the conventional commit
option on:
And I may also explore some better ways to prompt
from vscode-i-dont-care-about-commit-message.
Yep, you know what? I tried a similar solution, but not with the length; I auto-reply it with commitlint error msg, and it doesn't work well, at least for gpt-3.5.
This is quite a heavy solution for now, cause there is no very good framework for this.
Adding one more follow-up prompt "shorter" should also be enough, but just like you said "this will result in longer response times and more token consumption", it may not be worth it.
So I may add the keyword "concise" to the prompt. After all, "I Don't Care About Commit Message" :)
from vscode-i-dont-care-about-commit-message.
This problem may be reduced a lot by setting the
conventional commit
option on:And I may also explore some better ways to prompt
Thank you, I will give it a try. Regarding this issue, I have come up with a not-so-good solution. It involves setting a word limit in the prompt for GPT and checking the word count after receiving the response. If it exceeds the set limit, another request will be sent to make the GPT response more concise, until it meets the word requirement. Of course, this will result in longer response times and more token consumption. I hope there is a better solution
from vscode-i-dont-care-about-commit-message.
Related Issues (10)
- add HOT 1
- simplify the diff of lock files HOT 1
- fatal: ambiguous argument ':!yarn.lock': unknown revision or path not in the working tree HOT 2
- add more context when changes are small
- Dependency Dashboard
- AI git commit/push 能否改为将暂存区内容进行 commit/push HOT 4
- Request failed with status code 429 HOT 3
- Microsoft programmers copied your function into native VSCode UI! HOT 1
- how to use other apis which is compatible with openai HOT 1
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 vscode-i-dont-care-about-commit-message.