opencommit 3.0.5 → 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/out/cli.cjs +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<h2>Auto-generate meaningful commits in 1 second</h2>
|
|
8
8
|
<p>Killing lame commits with AI 🤯🔫</p>
|
|
9
9
|
<a href="https://www.npmjs.com/package/opencommit"><img src="https://img.shields.io/npm/v/opencommit" alt="Current version"></a>
|
|
10
|
-
<h4 align="center"
|
|
10
|
+
<h4 align="center">🪩 Winner of <a href="https://twitter.com/_sukharev_/status/1683448136973582336">GitHub 2023 hackathon</a> 🪩</h4>
|
|
11
11
|
</div>
|
|
12
12
|
|
|
13
13
|
---
|
|
@@ -125,6 +125,12 @@ or for as a cheaper option:
|
|
|
125
125
|
oco config set OCO_MODEL=gpt-3.5-turbo
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
+
or for GPT-4 Turbo (Preview) which is more capable, has knowledge of world events up to April 2023, a 128k context window and 2-3x cheaper vs GPT-4:
|
|
129
|
+
|
|
130
|
+
```sh
|
|
131
|
+
oco config set OCO_MODEL=gpt-4-1106-preview
|
|
132
|
+
```
|
|
133
|
+
|
|
128
134
|
Make sure that you spell it `gpt-4` (lowercase) and that you have API access to the 4th model. Even if you have ChatGPT+, that doesn't necessarily mean that you have API access to GPT-4.
|
|
129
135
|
|
|
130
136
|
### Locale configuration
|
package/out/cli.cjs
CHANGED
|
@@ -16384,7 +16384,7 @@ function G3(t, e2) {
|
|
|
16384
16384
|
// package.json
|
|
16385
16385
|
var package_default = {
|
|
16386
16386
|
name: "opencommit",
|
|
16387
|
-
version: "3.0.
|
|
16387
|
+
version: "3.0.8",
|
|
16388
16388
|
description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
|
|
16389
16389
|
keywords: [
|
|
16390
16390
|
"git",
|
|
@@ -18729,9 +18729,10 @@ var configValidators = {
|
|
|
18729
18729
|
"gpt-3.5-turbo",
|
|
18730
18730
|
"gpt-4",
|
|
18731
18731
|
"gpt-3.5-turbo-16k",
|
|
18732
|
-
"gpt-3.5-turbo-0613"
|
|
18732
|
+
"gpt-3.5-turbo-0613",
|
|
18733
|
+
"gpt-4-1106-preview"
|
|
18733
18734
|
].includes(value),
|
|
18734
|
-
`${value} is not supported yet, use 'gpt-4', 'gpt-3.5-turbo-16k' (default), 'gpt-3.5-turbo-0613'
|
|
18735
|
+
`${value} is not supported yet, use 'gpt-4', 'gpt-3.5-turbo-16k' (default), 'gpt-3.5-turbo-0613', 'gpt-3.5-turbo' or 'gpt-4-1106-preview'`
|
|
18735
18736
|
);
|
|
18736
18737
|
return value;
|
|
18737
18738
|
},
|