Skip to content

Git diff is not enough for the model to understand the commit. #5

@BritishTeapot

Description

@BritishTeapot

Just the git diff is too little information for the model to understand the commit. Diffs only show local changes, not factoring in the global logic of the codebase. Lack of information also opens the door for hallucination, which is especially undesirable for commit messages that are meant to be truthful descriptions of code changes.

Proposed solution:

Give user the ability to insert more information about the program, for example:

  1. Paste the readme into the context, to give LLMs the oeverall understanding of the project.
  2. Be able to exted diffs to entire files not just the parts that were changed.

So far those are just ideas. It's difficult to say how LLMs will actually perform with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions