Skip to content

Commit f04e6bb

Browse files
authored
✨ tweak: update chat model configuration
1 parent edba3a6 commit f04e6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/utils/openai.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ async function generatePrompt() {
7676
{ role: "system", content: config.emoji },
7777
{ role: "user", content: gitDiffContent },
7878
],
79-
model: "gpt-3.5-turbo",
79+
model: config.default_model,
8080
});
8181
// use the prmopt from the config file message and send to openai
8282
const message = await openai.chat.completions.create({
8383
messages: [
8484
{ role: "system", content: config.message },
8585
{ role: "user", content: gitDiffContent },
8686
],
87-
model: "gpt-3.5-turbo",
87+
model: config.default_model,
8888
});
8989

9090
if (await gitStatus() !== false) {

0 commit comments

Comments
 (0)