File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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 )
You can’t perform that action at this time.
0 commit comments