Skip to content

Commit a0cd48a

Browse files
committed
Fix test
1 parent b03777b commit a0cd48a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/eca/llm_api_test.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@
4444
secrets/credential-file-paths (constantly [])]
4545
(let [db {:models {}}
4646
config {:providers {"openai" {:key "yes!"}}}]
47-
(is (= "openai/gpt-5.1" (llm-api/default-model db config))))))
47+
(is (= "openai/gpt-5.2" (llm-api/default-model db config))))))
4848

4949
(testing "OpenAI API key present in ENV"
5050
(with-redefs [config/get-env (fn [k] (when (= k "OPENAI_API_KEY") "env-openai"))
5151
secrets/credential-file-paths (constantly [])]
5252
(let [db {:models {}}
5353
config {:providers {"anthropic" {:key nil :keyEnv nil :keyRc nil}
5454
"openai" {:keyEnv "OPENAI_API_KEY"}}}]
55-
(is (= "openai/gpt-5.1" (llm-api/default-model db config))))))
55+
(is (= "openai/gpt-5.2" (llm-api/default-model db config))))))
5656

5757
(testing "Fallback default (no keys anywhere)"
5858
(with-redefs [config/get-env (constantly nil)

0 commit comments

Comments
 (0)