opencommit 2.0.11 → 2.0.13

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.
Files changed (3) hide show
  1. package/README.md +18 -0
  2. package/out/cli.cjs +1 -1
  3. 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.10",
16079
+ version: "2.0.12",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencommit",
3
- "version": "2.0.11",
3
+ "version": "2.0.13",
4
4
  "description": "GPT CLI to auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
5
5
  "keywords": [
6
6
  "git",