@@ -512,7 +512,8 @@ func testIntegration(t *testing.T, when spec.G, it spec.S) {
512
512
it ("should return the expected result for the --list-models flag" , func () {
513
513
output := runCommand ("--list-models" )
514
514
515
- Expect (output ).To (ContainSubstring ("* gpt-3.5-turbo (current)" ))
515
+ Expect (output ).To (ContainSubstring ("* gpt-4o (current)" ))
516
+ Expect (output ).To (ContainSubstring ("- gpt-3.5-turbo" ))
516
517
Expect (output ).To (ContainSubstring ("- gpt-3.5-turbo-0301" ))
517
518
})
518
519
@@ -540,7 +541,7 @@ func testIntegration(t *testing.T, when spec.G, it spec.S) {
540
541
Expect (output ).To (ContainSubstring ("/v1/chat/completions" ))
541
542
Expect (output ).To (ContainSubstring ("--header \" Authorization: Bearer ${OPENAI_API_KEY}\" " ))
542
543
Expect (output ).To (ContainSubstring ("--header 'Content-Type: application/json'" ))
543
- Expect (output ).To (ContainSubstring ("\" model\" :\" gpt-3.5-turbo \" " ))
544
+ Expect (output ).To (ContainSubstring ("\" model\" :\" gpt-4o \" " ))
544
545
Expect (output ).To (ContainSubstring ("\" messages\" :" ))
545
546
Expect (output ).To (ContainSubstring ("Response" ))
546
547
@@ -832,7 +833,7 @@ func testIntegration(t *testing.T, when spec.G, it spec.S) {
832
833
})
833
834
834
835
it ("has a configurable default model" , func () {
835
- oldModel := "gpt-3.5-turbo "
836
+ oldModel := "gpt-4o "
836
837
newModel := "gpt-3.5-turbo-0301"
837
838
838
839
// Verify initial model
@@ -939,7 +940,7 @@ func testIntegration(t *testing.T, when spec.G, it spec.S) {
939
940
940
941
when ("configuration precedence" , func () {
941
942
var (
942
- defaultModel = "gpt-3.5-turbo "
943
+ defaultModel = "gpt-4o "
943
944
newModel = "gpt-3.5-turbo-0301"
944
945
envModel = "gpt-3.5-env-model"
945
946
envVar string
0 commit comments