Skip to content

Commit

Permalink
Merge pull request #519 from yslinear/hotfix
Browse files Browse the repository at this point in the history
feat(anthropic): update chat models to include Claude 3.5 Haiku and new version for Sonnet
  • Loading branch information
ItzCrazyKns authored Dec 15, 2024
2 parents 2c5ca94 + 1c3c689 commit ea74e30
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/lib/providers/anthropic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,20 @@ export const loadAnthropicChatModels = async () => {

try {
const chatModels = {
'claude-3-5-sonnet-20240620': {
'claude-3-5-sonnet-20241022': {
displayName: 'Claude 3.5 Sonnet',
model: new ChatAnthropic({
temperature: 0.7,
anthropicApiKey: anthropicApiKey,
model: 'claude-3-5-sonnet-20240620',
model: 'claude-3-5-sonnet-20241022',
}),
},
'claude-3-5-haiku-20241022': {
displayName: 'Claude 3.5 Haiku',
model: new ChatAnthropic({
temperature: 0.7,
anthropicApiKey: anthropicApiKey,
model: 'claude-3-5-haiku-20241022',
}),
},
'claude-3-opus-20240229': {
Expand Down

0 comments on commit ea74e30

Please sign in to comment.