Skip to content

Commit

Permalink
refactor: add haiku to anthropic adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
olimorris committed Apr 1, 2024
1 parent 5696d97 commit 53730e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/codecompanion/adapters/anthropic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,9 @@ return {
mapping = "parameters",
type = "enum",
desc = "ID of the model to use. See the model endpoint compatibility table for details on which models work with the Chat API.",
default = "claude-3-opus-20240229",
default = "claude-3-haiku-20240307",
choices = {
"claude-3-haiku-20240307",
"claude-3-opus-20240229",
"claude-3-sonnet-20240229",
"claude-2.1",
Expand Down

0 comments on commit 53730e0

Please sign in to comment.