Skip to content

Feature Request: AI generate commit message with custom model provider, and allow to edit the system prompt #2519

@patrick-fu

Description

@patrick-fu

The new commit message auto-generation feature is great!

However, I have noticed that currently only OpenAI is available as a provider. I hope to introduce an endpoint URL parameter and a model parameter, allowing users to switch to any model provider which compatible with the OpenAI API format and allow to choose different models

Additionally, I hope the fork app can also allow to edit the system prompt used for generating commit messages. Different projects may require different commit message formats, therefore, it is better to read the system prompt from a specified configuration file, for example, first reading from the .fork/xxxxx.json file in the project's root directory, if not found there, search in the home directory; if still unavailable, use an editable prompt in the fork app settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions