Bugfix/increase tokens (#132)

* feat(api.ts): add support for OPENAI_MAX_TOKENS environment variable
feat(config.ts): add OPENAI_MAX_TOKENS to CONFIG_KEYS and configValidators

* 2.0.2

* 2.0.3

* docs(README.md): add GPT-4 usage instructions and mention the cost difference compared to GPT-3.5-turbo

---------

Co-authored-by: di-sukharev <dim.sukharev@gmail.com>
This commit is contained in:
Juan José López Lira
2023-05-03 23:33:06 -05:00
committed by GitHub
parent 42c26cbaaa
commit 3f5df6ef7c
5 changed files with 29 additions and 4 deletions
+3 -2
View File
@@ -1,12 +1,12 @@
{
"name": "opencommit",
"version": "2.0.1",
"version": "2.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "opencommit",
"version": "2.0.1",
"version": "2.0.0",
"license": "MIT",
"dependencies": {
"@clack/prompts": "^0.6.1",
@@ -22,6 +22,7 @@
},
"bin": {
"oc": "out/cli.cjs",
"oco": "out/cli.cjs",
"opencommit": "out/cli.cjs"
},
"devDependencies": {