Skip to content

Commit 4c8beff

Browse files
committed
Increase anthropic max-tokens
1 parent 6757f4a commit 4c8beff

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+
- Increase anthropic models maxTokens to 8196
6+
57
## 0.9.0
68

79
- Include eca as a server with tools.

src/eca/llm_providers/anthropic.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
(defn completion!
7979
[{:keys [model user-prompt temperature instructions max-tokens
8080
api-url api-key past-messages tools web-search]
81-
:or {max-tokens 4096
81+
:or {max-tokens 8192
8282
temperature 1.0}}
8383
{:keys [on-message-received on-error on-prepare-tool-call on-tool-called]}]
8484
(let [messages (conj (past-messages->messages past-messages)

0 commit comments

Comments
 (0)