Skip to content

Commit a1a3b7f

Browse files
chore: change default model to gpt4o (#356)
1 parent 6a56ded commit a1a3b7f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+51
-51
lines changed

pkg/openai/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
)
2121

2222
const (
23-
DefaultModel = openai.GPT4Turbo
23+
DefaultModel = openai.GPT4o
2424
)
2525

2626
var (
@@ -45,7 +45,7 @@ type Options struct {
4545
APIVersion string `usage:"OpenAI API Version (for Azure)" name:"openai-api-version" env:"OPENAI_API_VERSION"`
4646
APIType openai.APIType `usage:"OpenAI API Type (valid: OPEN_AI, AZURE, AZURE_AD)" name:"openai-api-type" env:"OPENAI_API_TYPE"`
4747
OrgID string `usage:"OpenAI organization ID" name:"openai-org-id" env:"OPENAI_ORG_ID"`
48-
DefaultModel string `usage:"Default LLM model to use" default:"gpt-4-turbo"`
48+
DefaultModel string `usage:"Default LLM model to use" default:"gpt-4o"`
4949
ConfigFile string `usage:"Path to GPTScript config file" name:"config"`
5050
SetSeed bool `usage:"-"`
5151
CacheKey string `usage:"-"`

pkg/tests/testdata/TestCase/call1.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
`{
2-
"Model": "gpt-4-turbo",
2+
"Model": "gpt-4o",
33
"InternalSystemPrompt": null,
44
"Tools": [
55
{

pkg/tests/testdata/TestCase2/call1.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
`{
2-
"Model": "gpt-4-turbo",
2+
"Model": "gpt-4o",
33
"InternalSystemPrompt": null,
44
"Tools": [
55
{

pkg/tests/testdata/TestChat/call1.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
`{
2-
"Model": "gpt-4-turbo",
2+
"Model": "gpt-4o",
33
"InternalSystemPrompt": false,
44
"Tools": null,
55
"Messages": [

pkg/tests/testdata/TestChat/call2.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
`{
2-
"Model": "gpt-4-turbo",
2+
"Model": "gpt-4o",
33
"InternalSystemPrompt": false,
44
"Tools": null,
55
"Messages": [

pkg/tests/testdata/TestChatRunNoError/call1.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
`{
2-
"Model": "gpt-4-turbo",
2+
"Model": "gpt-4o",
33
"InternalSystemPrompt": false,
44
"Tools": null,
55
"Messages": [

pkg/tests/testdata/TestContext/call1.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
`{
2-
"Model": "gpt-4-turbo",
2+
"Model": "gpt-4o",
33
"InternalSystemPrompt": null,
44
"Tools": null,
55
"Messages": [

pkg/tests/testdata/TestContextArg/call1.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
`{
2-
"Model": "gpt-4-turbo",
2+
"Model": "gpt-4o",
33
"InternalSystemPrompt": null,
44
"Tools": null,
55
"Messages": [

pkg/tests/testdata/TestContextSubChat/call1.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
`{
2-
"Model": "gpt-4-turbo",
2+
"Model": "gpt-4o",
33
"InternalSystemPrompt": null,
44
"Tools": [
55
{

pkg/tests/testdata/TestContextSubChat/call10.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
`{
2-
"Model": "gpt-4-turbo",
2+
"Model": "gpt-4o",
33
"InternalSystemPrompt": false,
44
"Tools": null,
55
"Messages": [

0 commit comments

Comments
 (0)