File tree Expand file tree Collapse file tree 5 files changed +15
-14
lines changed
Expand file tree Collapse file tree 5 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ - Support ` claude-opus-4-1 ` model;
6+
57## 0.18.0
68
79- Replace ` chat ` behavior with ` plan ` .
Original file line number Diff line number Diff line change 1818
1919- [ claude-sonnet-4-0] ( https://docs.anthropic.com/en/docs/about-claude/models/overview )
2020- [ claude-opus-4-0] ( https://docs.anthropic.com/en/docs/about-claude/models/overview )
21+ - [ claude-opus-4-1] ( https://docs.anthropic.com/en/docs/about-claude/models/overview )
2122- [ claude-3-5-haiku-latest] ( https://docs.anthropic.com/en/docs/about-claude/models/overview )
2223
2324### Ollama
Original file line number Diff line number Diff line change @@ -262,21 +262,9 @@ interface ChatPromptParams {
262262}
263263
264264/**
265- * The currently supported models .
265+ * The LLM model name .
266266 */
267- type ChatModel =
268- | ' o4-mini'
269- | ' o3'
270- | ' gpt-4.1'
271- | ' claude-sonnet-4-0'
272- | ' claude-opus-4-0'
273- | ' claude-3-5-haiku-latest'
274- OllamaRunningModel ;
275-
276- /**
277- * Ollama running models available locally.
278- */
279- type OllamaRunningModel = string
267+ type ChatModel = string ;
280268
281269type ChatContext = FileContext | DirectoryContext | WebContext | RepoMapContext | McpResourceContext ;
282270
Original file line number Diff line number Diff line change 4545 :input-cache-creation-token-cost (/ 18.75 one-million)
4646 :input-cache-read-token-cost (/ 1.5 one-million)
4747 :output-token-cost (/ 75.0 one-million)}
48+ " claude-opus-4-1" {:tools true
49+ :web-search true
50+ :max-output-tokens 8196
51+ :reason? true
52+ :reason-tokens 2048
53+ :input-token-cost (/ 15.0 one-million)
54+ :input-cache-creation-token-cost (/ 18.75 one-million)
55+ :input-cache-read-token-cost (/ 1.5 one-million)
56+ :output-token-cost (/ 75.0 one-million)}
4857 " claude-3-5-haiku-latest" {:tools true
4958 :web-search true
5059 :reason? false
Original file line number Diff line number Diff line change 136136
137137 (contains? #{" claude-sonnet-4-0"
138138 " claude-opus-4-0"
139+ " claude-opus-4-1"
139140 " claude-3-5-haiku-latest" } model)
140141 (llm-providers.anthropic/completion!
141142 {:model model
You can’t perform that action at this time.
0 commit comments