Skip to content

Commit

Permalink
Update models.go (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
molizz authored Mar 15, 2024
1 parent 69dc742 commit 71e3db7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/anthropic/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ const (

// Fastest and most compact model for near-instant responsiveness
// Claude 3 Haiku: Coming soon. Not yet available as of Mar 4 2024.

Claude3Haiku Model = "claude-3-haiku-20240307"

// Updated version of Claude 2 with improved accuracy
ClaudeV2_1 Model = "claude-2.1"

Expand Down Expand Up @@ -63,7 +64,7 @@ const (

func (m Model) IsMessageCompatible() bool {
switch m {
case Claude3Opus, Claude3Sonnet, ClaudeV2_1:
case Claude3Opus, Claude3Sonnet, Claude3Haiku, ClaudeV2_1:
return true
}
return false
Expand Down

0 comments on commit 71e3db7

Please sign in to comment.