Skip to content

Commit 18f7c92

Browse files
committed
In ChatGPT mode use newer model by default
1 parent 2308c03 commit 18f7c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chatgpt.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func chatgpt(ctx context.Context, args runArgs) error {
7070
userMessage.Content = append(userMessage.Content, textBlock(prompt))
7171

7272
modelRequest := chatgptRequest{
73-
Model: cmp.Or(os.Getenv("LLMCLI_CHATGPT_MODEL"), "gpt-4o"),
73+
Model: cmp.Or(os.Getenv("LLMCLI_CHATGPT_MODEL"), "gpt-4o-2024-08-06"),
7474
Stream: true,
7575
Messages: []message{
7676
{Role: "system", Content: []contentEntry{textBlock(systemPrompt)}},

0 commit comments

Comments
 (0)