Skip to content

Commit

Permalink
Merge pull request #424 from d-debrock/patch-1
Browse files Browse the repository at this point in the history
Update anthropic.ts adding support for claude sonnet 3.5
  • Loading branch information
abrenneke authored Jun 26, 2024
2 parents 55a02f7 + 1ba99a1 commit 81f4386
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/core/src/plugins/anthropic/anthropic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ export const anthropicModels = {
},
displayName: 'Claude 3 Opus',
},
'claude-3-5-sonnet-20240620': {
maxTokens: 200_000,
cost: {
prompt: 3e-6,
completion: 15e-6,
},
displayName: 'Claude 3.5 Sonnet',
},
} satisfies Record<string, AnthropicModel>;

export type AnthropicModels = keyof typeof anthropicModels;
Expand Down

0 comments on commit 81f4386

Please sign in to comment.