@@ -92,6 +92,8 @@ export const O1_MINI_MODEL_ID = "o1-mini" as const;
92
92
export const CLAUDE_3_OPUS_2024029_MODEL_ID = "claude-3-opus-20240229" as const ;
93
93
export const CLAUDE_3_5_SONNET_20240620_MODEL_ID =
94
94
"claude-3-5-sonnet-20240620" as const ;
95
+ export const CLAUDE_3_5_SONNET_20241022_MODEL_ID =
96
+ "claude-3-5-sonnet-20241022" as const ;
95
97
export const CLAUDE_3_HAIKU_20240307_MODEL_ID =
96
98
"claude-3-haiku-20240307" as const ;
97
99
export const CLAUDE_2_1_MODEL_ID = "claude-2.1" as const ;
@@ -114,6 +116,7 @@ export const MODEL_IDS = [
114
116
O1_MINI_MODEL_ID ,
115
117
CLAUDE_3_OPUS_2024029_MODEL_ID ,
116
118
CLAUDE_3_5_SONNET_20240620_MODEL_ID ,
119
+ CLAUDE_3_5_SONNET_20241022_MODEL_ID ,
117
120
CLAUDE_3_HAIKU_20240307_MODEL_ID ,
118
121
CLAUDE_2_1_MODEL_ID ,
119
122
CLAUDE_INSTANT_1_2_MODEL_ID ,
@@ -341,9 +344,27 @@ export const CLAUDE_3_OPUS_DEFAULT_MODEL_CONFIG: ModelConfigurationType = {
341
344
supportsVision : true ,
342
345
toolUseMetaPrompt : ANTHROPIC_TOOL_USE_META_PROMPT ,
343
346
} ;
347
+
348
+ export const CLAUDE_3_5_SONNET_20240620_DEPRECATED_MODEL_CONFIG : ModelConfigurationType =
349
+ {
350
+ providerId : "anthropic" ,
351
+ modelId : CLAUDE_3_5_SONNET_20240620_MODEL_ID ,
352
+ displayName : "Claude 3.5 Sonnet" ,
353
+ contextSize : 180_000 ,
354
+ recommendedTopK : 32 ,
355
+ recommendedExhaustiveTopK : 128 , // 65_536
356
+ largeModel : true ,
357
+ description : "Anthropic's latest Claude 3.5 Sonnet model (200k context)." ,
358
+ shortDescription : "Anthropic's latest model." ,
359
+ isLegacy : false ,
360
+ delimitersConfiguration : ANTHROPIC_DELIMITERS_CONFIGURATION ,
361
+ supportsVision : true ,
362
+ toolUseMetaPrompt : ANTHROPIC_TOOL_USE_META_PROMPT ,
363
+ } ;
364
+
344
365
export const CLAUDE_3_5_SONNET_DEFAULT_MODEL_CONFIG : ModelConfigurationType = {
345
366
providerId : "anthropic" ,
346
- modelId : CLAUDE_3_5_SONNET_20240620_MODEL_ID ,
367
+ modelId : CLAUDE_3_5_SONNET_20241022_MODEL_ID ,
347
368
displayName : "Claude 3.5 Sonnet" ,
348
369
contextSize : 180_000 ,
349
370
recommendedTopK : 32 ,
@@ -492,6 +513,7 @@ export const SUPPORTED_MODEL_CONFIGS: ModelConfigurationType[] = [
492
513
O1_PREVIEW_MODEL_CONFIG ,
493
514
O1_MINI_MODEL_CONFIG ,
494
515
CLAUDE_3_OPUS_DEFAULT_MODEL_CONFIG ,
516
+ CLAUDE_3_5_SONNET_20240620_DEPRECATED_MODEL_CONFIG ,
495
517
CLAUDE_3_5_SONNET_DEFAULT_MODEL_CONFIG ,
496
518
CLAUDE_3_HAIKU_DEFAULT_MODEL_CONFIG ,
497
519
CLAUDE_2_DEFAULT_MODEL_CONFIG ,
0 commit comments