opencommit 2.0.10 → 2.0.12
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 +18 -0
- package/out/cli.cjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,6 +96,24 @@ To remove description:
|
|
|
96
96
|
oc config set description=false
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
+
### Configure openAI maxTokens param
|
|
100
|
+
|
|
101
|
+
Default value for `maxTokens` is 196, sometimes you can get 400 error if request+response exceeds `maxToken` parameter.
|
|
102
|
+
|
|
103
|
+
so you can increase it:
|
|
104
|
+
|
|
105
|
+
```sh
|
|
106
|
+
oc config set OPENAI_MAX_TOKENS=<number>
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Configure BASE_PATH for openAI api
|
|
110
|
+
|
|
111
|
+
if you want to call GPT via proxy — you can change `BASE_PATH` parameter:
|
|
112
|
+
|
|
113
|
+
```sh
|
|
114
|
+
oc config set OPENAI_BASE_PATH=<string>
|
|
115
|
+
```
|
|
116
|
+
|
|
99
117
|
### Internationalization support
|
|
100
118
|
|
|
101
119
|
To specify the language used to generate commit messages:
|
package/out/cli.cjs
CHANGED
|
@@ -16076,7 +16076,7 @@ function G3(t, e2) {
|
|
|
16076
16076
|
// package.json
|
|
16077
16077
|
var package_default = {
|
|
16078
16078
|
name: "opencommit",
|
|
16079
|
-
version: "2.0.
|
|
16079
|
+
version: "2.0.11",
|
|
16080
16080
|
description: "GPT CLI to auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
|
|
16081
16081
|
keywords: [
|
|
16082
16082
|
"git",
|