mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-01-13 07:38:01 -05:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
598881a41c | ||
|
|
1080544631 | ||
|
|
de68e6cc7a | ||
|
|
5addb7df25 | ||
|
|
e447575980 | ||
|
|
ffebbc6e1b |
BIN
.github/opencommit-example.png
vendored
BIN
.github/opencommit-example.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 318 KiB After Width: | Height: | Size: 304 KiB |
18
README.md
18
README.md
@@ -96,6 +96,24 @@ To remove description:
|
||||
oc config set description=false
|
||||
```
|
||||
|
||||
### Configure openAI maxTokens param
|
||||
|
||||
Default value for `maxTokens` is 196, sometimes you can get 400 error if request+response exceeds `maxToken` parameter.
|
||||
|
||||
so you can increase it:
|
||||
|
||||
```sh
|
||||
oc config set OPENAI_MAX_TOKENS=<number>
|
||||
```
|
||||
|
||||
### Configure BASE_PATH for openAI api
|
||||
|
||||
if you want to call GPT via proxy — you can change `BASE_PATH` parameter:
|
||||
|
||||
```sh
|
||||
oc config set OPENAI_BASE_PATH=<string>
|
||||
```
|
||||
|
||||
### Internationalization support
|
||||
|
||||
To specify the language used to generate commit messages:
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "opencommit",
|
||||
"version": "2.0.9",
|
||||
"version": "2.0.13",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "opencommit",
|
||||
"version": "2.0.9",
|
||||
"version": "2.0.13",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@clack/prompts": "^0.6.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "opencommit",
|
||||
"version": "2.0.9",
|
||||
"version": "2.0.13",
|
||||
"description": "GPT CLI to auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
|
||||
"keywords": [
|
||||
"git",
|
||||
|
||||
Reference in New Issue
Block a user