File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed
Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export const anthropicProvider: ProviderConfig = {
1010 name : 'Anthropic' ,
1111 description : "Anthropic's Claude models" ,
1212 version : '1.0.0' ,
13- models : [ 'claude-3-7-sonnet-20250219' ] ,
13+ models : [ 'claude-3-5-sonnet-20240620' , 'claude-3- 7-sonnet-20250219'] ,
1414 defaultModel : 'claude-3-7-sonnet-20250219' ,
1515
1616 executeRequest : async ( request : ProviderRequest ) : Promise < ProviderResponse > => {
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export const MODELS_TEMP_RANGE_0_2 = [
1717// Models that support temperature with range 0-1
1818export const MODELS_TEMP_RANGE_0_1 = [
1919 // Anthropic models
20+ 'claude-3-5-sonnet-20240620' ,
2021 'claude-3-7-sonnet-20250219' ,
2122 // xAI models
2223 'grok-2-latest' ,
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ const modelPricing: ModelPricingMap = {
2828 } ,
2929
3030 // Anthropic Models
31+ 'claude-3-5-sonnet-20240620' : {
32+ input : 3.0 ,
33+ cachedInput : 1.5 ,
34+ output : 15.0 ,
35+ updatedAt : '2024-06-20' ,
36+ } ,
3137 'claude-3-7-sonnet-20250219' : {
3238 input : 3.0 ,
3339 cachedInput : 1.5 ,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export const providers: Record<
3030 } ,
3131 anthropic : {
3232 ...anthropicProvider ,
33- models : [ 'claude-3-7-sonnet-20250219' ] ,
33+ models : [ 'claude-3-5-sonnet-20240620' , 'claude-3- 7-sonnet-20250219'] ,
3434 modelPatterns : [ / ^ c l a u d e / ] ,
3535 } ,
3636 google : {
You can’t perform that action at this time.
0 commit comments