Giter Club home page Giter Club logo

Comments (5)

joeytwiddle avatar joeytwiddle commented on August 28, 2024 2

I had the exact same idea, and implemented it here:

joeytwiddle@890996f

Feel free to grab that code. Or I can open a pull request if you prefer.

Concerns:

  1. Perhaps it should be an option in the config file, so people can enable or disable it. (It certainly makes the prompt larger.)

from aicommits.

moritztim avatar moritztim commented on August 28, 2024 1

I think there is one thing to be noted: If previous commits with AI generated messages are factored in, this will distort the style, therefore there would either be a system to separately store which commits are AI generated or just storing a single commit hash after which it can't be assumed that all commits are written by humans.

from aicommits.

joeytwiddle avatar joeytwiddle commented on August 28, 2024 1

@moritz-t-w Thanks, but my experience is that my tweaks don't work very well!

The AI always chooses to use conventional style (usually with the "refactor" label) even if previous commits used different tags, or didn't use conventional style at all.

from aicommits.

moritztim avatar moritztim commented on August 28, 2024

@joeytwiddle I really like your tweaks, you should definitely make a pr!

from aicommits.

moritztim avatar moritztim commented on August 28, 2024

Well maybe that'll need some work but the other things you've done seem pretty reasonable

from aicommits.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.