File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ - Default to gpt-5 instead of o4-mini when openai-api-key found.
6+
57## 0.21.0
68
79- Fix openai skip streaming response corner cases.
Original file line number Diff line number Diff line change 6868 (when (anthropic-api-key config)
6969 [:api-key-found " claude-sonnet-4-0" ])
7070 (when (openai-api-key config)
71- [:api-key-found " o4-mini " ])
71+ [:api-key-found " gpt-5 " ])
7272 (when-let [ollama-model (first (filter #(string/starts-with? % config/ollama-model-prefix) (keys (:models db))))]
7373 [:ollama-running ollama-model])
7474 [:default " claude-sonnet-4-0" ])]
Original file line number Diff line number Diff line change 3838 (with-redefs [config/get-env (constantly nil )]
3939 (let [db {:models {}}
4040 config {:openaiApiKey " yes!" }]
41- (is (= " o4-mini " (llm-api/default-model db config ))))))
41+ (is (= " gpt-5 " (llm-api/default-model db config ))))))
4242
4343 (testing " OpenAI API key present in ENV"
4444 (with-redefs [config/get-env (fn [k] (when (= k " OPENAI_API_KEY" ) " env-openai" ))]
4545 (let [db {:models {}}
4646 config {}]
47- (is (= " o4-mini " (llm-api/default-model db config ))))))
47+ (is (= " gpt-5 " (llm-api/default-model db config ))))))
4848
4949 (testing " Fallback default (no keys anywhere)"
5050 (with-redefs [config/get-env (constantly nil )]
You can’t perform that action at this time.
0 commit comments