Skip to content

Commit c96bb26

Browse files
committed
add apac to eslint dictionary
1 parent e173db5 commit c96bb26

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

.eslint_dictionary.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"ampx",
99
"anonymize",
1010
"anthropic",
11+
"apac",
1112
"apns",
1213
"apollo",
1314
"appleid",

packages/ai-constructs/src/conversation/conversation_handler_construct.test.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ void describe('Conversation Handler Function construct', () => {
424424
new ConversationHandlerFunction(stack, 'conversationHandler', {
425425
models: [
426426
{
427-
modelId: 'eu.anthropic.claude-3-sonnet',
427+
modelId: 'eu.anthropic.claude-3-5-sonnet-20240620-v1:0',
428428
},
429429
],
430430
});
@@ -448,13 +448,13 @@ void describe('Conversation Handler Function construct', () => {
448448
{
449449
Ref: 'AWS::AccountId',
450450
},
451-
':inference-profile/eu.anthropic.claude-3-sonnet',
451+
':inference-profile/eu.anthropic.claude-3-5-sonnet-20240620-v1:0',
452452
],
453453
],
454454
},
455-
'arn:aws:bedrock:eu-west-1::foundation-model/anthropic.claude-3-sonnet',
456-
'arn:aws:bedrock:eu-west-3::foundation-model/anthropic.claude-3-sonnet',
457-
'arn:aws:bedrock:eu-central-1::foundation-model/anthropic.claude-3-sonnet',
455+
'arn:aws:bedrock:eu-west-1::foundation-model/anthropic.claude-3-5-sonnet-20240620-v1:0',
456+
'arn:aws:bedrock:eu-west-3::foundation-model/anthropic.claude-3-5-sonnet-20240620-v1:0',
457+
'arn:aws:bedrock:eu-central-1::foundation-model/anthropic.claude-3-5-sonnet-20240620-v1:0',
458458
],
459459
},
460460
],
@@ -470,7 +470,7 @@ void describe('Conversation Handler Function construct', () => {
470470
new ConversationHandlerFunction(stack, 'conversationHandler', {
471471
models: [
472472
{
473-
modelId: 'us.anthropic.claude-3-sonnet',
473+
modelId: 'us.anthropic.claude-3-7-sonnet-20250219-v1:0',
474474
},
475475
],
476476
});
@@ -494,13 +494,13 @@ void describe('Conversation Handler Function construct', () => {
494494
{
495495
Ref: 'AWS::AccountId',
496496
},
497-
':inference-profile/us.anthropic.claude-3-sonnet',
497+
':inference-profile/us.anthropic.claude-3-7-sonnet-20250219-v1:0',
498498
],
499499
],
500500
},
501-
'arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-3-sonnet',
502-
'arn:aws:bedrock:us-east-2::foundation-model/anthropic.claude-3-sonnet',
503-
'arn:aws:bedrock:us-west-2::foundation-model/anthropic.claude-3-sonnet',
501+
'arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-3-7-sonnet-20250219-v1:0',
502+
'arn:aws:bedrock:us-east-2::foundation-model/anthropic.claude-3-7-sonnet-20250219-v1:0',
503+
'arn:aws:bedrock:us-west-2::foundation-model/anthropic.claude-3-7-sonnet-20250219-v1:0',
504504
],
505505
},
506506
],
@@ -516,7 +516,7 @@ void describe('Conversation Handler Function construct', () => {
516516
new ConversationHandlerFunction(stack, 'conversationHandler', {
517517
models: [
518518
{
519-
modelId: 'apac.anthropic.claude-3-sonnet',
519+
modelId: 'apac.anthropic.claude-3-haiku-20240307-v1:0',
520520
},
521521
],
522522
});
@@ -540,14 +540,14 @@ void describe('Conversation Handler Function construct', () => {
540540
{
541541
Ref: 'AWS::AccountId',
542542
},
543-
':inference-profile/apac.anthropic.claude-3-sonnet',
543+
':inference-profile/apac.anthropic.claude-3-haiku-20240307-v1:0',
544544
],
545545
],
546546
},
547-
'arn:aws:bedrock:ap-northeast-1::foundation-model/anthropic.claude-3-sonnet',
548-
'arn:aws:bedrock:ap-northeast-2::foundation-model/anthropic.claude-3-sonnet',
549-
'arn:aws:bedrock:ap-southeast-1::foundation-model/anthropic.claude-3-sonnet',
550-
'arn:aws:bedrock:ap-southeast-2::foundation-model/anthropic.claude-3-sonnet',
547+
'arn:aws:bedrock:ap-northeast-1::foundation-model/anthropic.claude-3-haiku-20240307-v1:0',
548+
'arn:aws:bedrock:ap-northeast-2::foundation-model/anthropic.claude-3-haiku-20240307-v1:0',
549+
'arn:aws:bedrock:ap-southeast-1::foundation-model/anthropic.claude-3-haiku-20240307-v1:0',
550+
'arn:aws:bedrock:ap-southeast-2::foundation-model/anthropic.claude-3-haiku-20240307-v1:0',
551551
],
552552
},
553553
],

0 commit comments

Comments
 (0)