Skip to content

Commit

Permalink
Update anthropic.ts adding support for claude sonnet 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
d-debrock authored Jun 26, 2024
1 parent 55a02f7 commit 1ba99a1
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 1ba99a1

Please sign in to comment.