Skip to content

Commit 32260f0

Browse files
add model
1 parent c857a00 commit 32260f0

File tree

3 files changed

+145
-23
lines changed

3 files changed

+145
-23
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ const gitExtension = (args) => {
9494
message: "Select a model",
9595
choices: [
9696
{ title: "gpt-3.5-turbo-instruct", value: "gpt-3.5-turbo-instruct" },
97-
{ title: "gpt-4-1106-preview", value: "gpt-4-1106-preview" }
97+
{ title: "gpt-4-1106-preview", value: "gpt-4-1106-preview" },
98+
{ title: "gpt-4-0125-preview", value: "gpt-4-0125-preview" } // New model added
9899
],
99100
initial: 0
100101
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dependencies": {
2323
"commander": "^10.0.0",
2424
"dotenv": "^16.0.3",
25-
"openai": "^3.2.1",
25+
"openai": "^4.26.0",
2626
"prompts": "^2.4.2"
2727
},
2828
"bin": {

pnpm-lock.yaml

Lines changed: 142 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)