Skip to content

Commit

Permalink
Added ability to work with new sonnet model and ability to use `lates…
Browse files Browse the repository at this point in the history
…t` always
  • Loading branch information
PrashamTrivedi committed Oct 23, 2024
1 parent 39d6cf4 commit fc92bfc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions anthropic.mts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ const modelMapping = {
"claude-3-haiku": 'claude-3-haiku-20240307',
'claude-3-sonnet': 'claude-3-sonnet-20240229',
'claude-3-opus': 'claude-3-opus-20240229',
'claude-3.5-sonnet': 'claude-3-5-sonnet-20240620',
'claude-3.5-sonnet': 'claude-3-5-sonnet-20241022',
'claude-3.5-sonnet-legacy': 'claude-3-5-sonnet-20240620',
'claude-3.5-sonnet-latest': 'claude-3-5-sonnet-latest',
'haiku-3': 'claude-3-haiku-20240307',
'sonnet-3': 'claude-3-sonnet-20240229',
'opus-3': 'claude-3-opus-20240229',
'sonnet-3.5': 'claude-3-5-sonnet-20240620',
'sonnet-3.5': 'claude-3-5-sonnet-20241022',
'sonnet-3.5-legacy': 'claude-3-5-sonnet-20240620',
'sonnet-3.5-latest': 'claude-3-5-sonnet-latest',
}

export class AnthropicInterface implements LlmInterface {
Expand Down

0 comments on commit fc92bfc

Please sign in to comment.