di-sukharev / di-sukharev/opencommit

Add a free gpt3-4 provider to avoid having to use ChatGPT.

Open
#83 7 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
7.5k
Forks
445
Avg merge
18m
Merged PRs (30d)
2

Description

Add a free gpt3-4 provider to avoid having to use ChatGPT.

Initial proposal

Hello !

Currently, OpenCommit uses ChatGPT as its AI model for generating commit messages. However, using a cloud-based AI model like ChatGPT raises privacy concerns for some users who do not want their private project data to be stored on external servers. Therefore, I propose adding a free, open-source GPT-3 or GPT-4 provider, such as llama.cpp, to OpenCommit as an alternative to using ChatGPT. This would allow users to use local language models to generate their commit messages, without having to worry about the privacy of their data.

Edit 03-30-2023

Prevent breaking changes
  • Add a LLAMA_LOCATION optional config entry for llama.cpp/main path.
  • Add a provider config entry with "openai" as default value (can be "llama").

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how OpenCommit currently selects its ChatGPT provider and reads configuration. The issue names LLAMA_LOCATION for the llama.cpp/main path and provider with openai as the default; done means adding the llama option without breaking the existing default behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ai, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.