mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-01-08 21:27:59 -05:00
Merge remote-tracking branch 'origin/master' into dev
This commit is contained in:
1
.opencommitignore
Normal file
1
.opencommitignore
Normal file
@@ -0,0 +1 @@
|
||||
out
|
||||
@@ -326,4 +326,8 @@ Interactive rebase (`rebase -i`) changes commits' SHA, so the commit history in
|
||||
|
||||
## Payments
|
||||
|
||||
You pay for your requests to OpenAI API. OpenCommit uses ChatGPT (3.5-turbo) official model, which is ~15x times cheaper than GPT-4.
|
||||
You pay for your requests to OpenAI API on your own.
|
||||
|
||||
OpenCommit stores your key locally.
|
||||
|
||||
OpenCommit by default uses ChatGPT (3.5-turbo-16k) official model, which is a lot cheaper than gpt-4.
|
||||
|
||||
@@ -22312,7 +22312,7 @@ var generateCommitMessageFromGitDiff = async (diff, extraArgs2) => {
|
||||
try {
|
||||
let commitMessage = await generateCommitMessageByDiff(diff);
|
||||
const messageTemplate = checkMessageTemplate(extraArgs2);
|
||||
if (typeof messageTemplate === "string") {
|
||||
if (config7?.OCO_MESSAGE_TEMPLATE_PLACEHOLDER && typeof messageTemplate === "string") {
|
||||
commitMessage = messageTemplate.replace(
|
||||
config7?.OCO_MESSAGE_TEMPLATE_PLACEHOLDER,
|
||||
commitMessage
|
||||
|
||||
Reference in New Issue
Block a user