|
135 | 135 | (merge reasoning-model-base |
136 | 136 | {:model-name "claude-opus-4-1-20250805" |
137 | 137 | :thinking (merge thinking-base |
138 | | - {:budget-tokens 8192})}) |
| 138 | + {:budget-tokens 4096})}) |
139 | 139 |
|
140 | 140 | :anthropic/claude-opus-4 |
141 | 141 | (merge model-base |
|
145 | 145 | (merge reasoning-model-base |
146 | 146 | {:model-name AnthropicChatModelName/CLAUDE_OPUS_4_20250514 |
147 | 147 | :thinking (merge thinking-base |
148 | | - {:budget-tokens 8192})}) |
| 148 | + {:budget-tokens 4096})}) |
149 | 149 |
|
150 | 150 | :anthropic/claude-3-5-haiku |
151 | 151 | (merge model-base |
|
159 | 159 | :anthropic/claude-sonnet-4-reasoning |
160 | 160 | (merge reasoning-model-base |
161 | 161 | {:model-name AnthropicChatModelName/CLAUDE_SONNET_4_20250514 |
| 162 | + :thinking (merge thinking-base |
| 163 | + {:budget-tokens 4096})}) |
| 164 | + |
| 165 | + :anthropic/claude-sonnet-4-5 |
| 166 | + (merge model-base |
| 167 | + {:model-name AnthropicChatModelName/CLAUDE_SONNET_4_5_20250929}) |
| 168 | + |
| 169 | + :anthropic/claude-sonnet-4-5-reasoning |
| 170 | + (merge reasoning-model-base |
| 171 | + {:model-name AnthropicChatModelName/CLAUDE_SONNET_4_5_20250929 |
162 | 172 | :thinking (merge thinking-base |
163 | 173 | {:budget-tokens 4096})})}) |
164 | 174 |
|
|
340 | 350 | (apply-common-params config) |
341 | 351 | (cond-> |
342 | 352 | (:model-name config) (.modelName (:model-name config)) |
343 | | - (:max-tokens config) (.maxTokens (int (:max-tokens config))) |
| 353 | + (:max-tokens config) (.maxCompletionTokens (int (:max-tokens config))) |
344 | 354 | (:seed config) (.seed (int (:seed config))) |
345 | 355 | (:frequency-penalty config) (.frequencyPenalty (double (:frequency-penalty config))) |
346 | 356 | (:presence-penalty config) (.presencePenalty (double (:presence-penalty config))) |
|
0 commit comments