Skip to content

Commit 43fb957

Browse files
committed
Fix anthropic subscription login
1 parent 8ca016c commit 43fb957

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- Require approval for `eca_shell_command` if running outside workspace folders.
6+
- Fix anthropic subscription.
67

78
## 0.36.5
89

src/eca/llm_providers/anthropic.clj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
(http/post
3535
url
3636
{:headers (assoc-some
37-
{"x-api-key" api-key
38-
"anthropic-version" "2023-06-01"
37+
{"anthropic-version" "2023-06-01"
3938
"Content-Type" "application/json"}
4039
"x-api-key" (when-not oauth? api-key)
4140
"Authorization" (when oauth? (str "Bearer " api-key))

0 commit comments

Comments
 (0)