Skip to content

Commit aa13b63

Browse files
committed
Remove default-model? unused
1 parent e9386fe commit aa13b63

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/eca/handlers.clj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
:reason? (or (:reason? known-model) true)
3333
:web-search (or (:web-search known-model) true)
3434
:max-output-tokens (:max-output-tokens known-model)
35-
:custom-provider? true
36-
:default-model? (= full-model (:defaultModel config))})))
35+
:custom-provider? true})))
3736
models
3837
provider-models))
3938
{}

test/eca/llm_api_test.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
(h/reset-components-before-test)
99

1010
(deftest default-model-test
11-
(testing "Custom provider default-model? present"
11+
(testing "Custom provider defaultModel present"
1212
(with-redefs [config/get-env (constantly nil)]
1313
(let [db {}
1414
config {:defaultModel "my-provider/my-model"}]

0 commit comments

Comments
 (0)