Skip to content

Commit 13d1517

Browse files
committed
Fix openai api key read from config.
1 parent 997c811 commit 13d1517

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- Fix openai api key read from config.
6+
57
## 0.11.2
68

79
- Fix error field on tool call outputs.

src/eca/llm_api.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
llm-providers.anthropic/base-url))
3535

3636
(defn ^:private openai-api-key [config]
37-
(or (:openaiapikey config)
37+
(or (:openaiApiKey config)
3838
(config/get-env "OPENAI_API_KEY")))
3939

4040
(defn ^:private openai-api-url []

0 commit comments

Comments
 (0)