Skip to content

Commit 5174220

Browse files
authored
update default model (#1042)
1 parent 126e82f commit 5174220

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed

docs/en/DEPLOY_OPTION.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,14 @@ const envs: Record<string, Partial<StackInput>> = {
916916
'apac.amazon.nova-micro-v1:0',
917917
{ modelId: 'us.deepseek.r1-v1:0', region: 'us-east-1' },
918918
{ modelId: 'us.writer.palmyra-x5-v1:0', region: 'us-west-2' },
919-
{ modelId: 'us.meta.llama4-maverick-17b-instruct-v1:0', region: 'us-east-1' },
920-
{ modelId: 'us.meta.llama4-scout-17b-instruct-v1:0', region: 'us-east-1' },
919+
{
920+
modelId: 'us.meta.llama4-maverick-17b-instruct-v1:0',
921+
region: 'us-east-1',
922+
},
923+
{
924+
modelId: 'us.meta.llama4-scout-17b-instruct-v1:0',
925+
region: 'us-east-1',
926+
},
921927
{ modelId: 'us.mistral.pixtral-large-2502-v1:0', region: 'us-east-1' },
922928
],
923929
imageGenerationModelIds: [

packages/cdk/cdk.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@
4040
"hiddenUseCases": {},
4141
"modelRegion": "us-east-1",
4242
"modelIds": [
43-
"us.anthropic.claude-3-5-sonnet-20241022-v2:0",
43+
"us.anthropic.claude-3-7-sonnet-20250219-v1:0",
4444
"us.anthropic.claude-3-5-haiku-20241022-v1:0",
45+
"us.amazon.nova-premier-v1:0",
4546
"us.amazon.nova-pro-v1:0",
4647
"us.amazon.nova-lite-v1:0",
47-
"us.amazon.nova-micro-v1:0"
48+
"us.amazon.nova-micro-v1:0",
49+
"us.deepseek.r1-v1:0"
4850
],
4951
"imageGenerationModelIds": ["amazon.nova-canvas-v1:0"],
5052
"videoGenerationModelIds": ["amazon.nova-reel-v1:0"],

packages/cdk/lib/construct/agent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class Agent extends Construct {
118118
idleSessionTtlInSeconds: 3600,
119119
autoPrepare: true,
120120
description: 'Search Agent',
121-
foundationModel: 'anthropic.claude-3-haiku-20240307-v1:0',
121+
foundationModel: 'us.anthropic.claude-3-5-sonnet-20241022-v2:0',
122122
instruction: `You are an advanced assistant with the ability to search and retrieve information from the web to perform complex research tasks.
123123
Your main function is to solve problems and meet user requests by utilizing these capabilities.
124124
Your main characteristics and instructions are as follows.
@@ -159,7 +159,7 @@ Automatically detect the language of the user's request and think and answer in
159159
idleSessionTtlInSeconds: 3600,
160160
autoPrepare: true,
161161
description: 'Code Interpreter',
162-
foundationModel: 'anthropic.claude-3-sonnet-20240229-v1:0',
162+
foundationModel: 'us.anthropic.claude-3-5-sonnet-20241022-v2:0',
163163
instruction: `You are an advanced AI agent with the ability to execute code, generate charts, and perform complex data analysis.
164164
Your main function is to solve problems and meet user requests by utilizing these capabilities.
165165
Your main characteristics and instructions are as follows.

packages/cdk/lib/stack-input.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@ export const stackInputSchema = z.object({
4040
])
4141
)
4242
.default([
43-
'us.anthropic.claude-3-5-sonnet-20241022-v2:0',
43+
'us.anthropic.claude-3-7-sonnet-20250219-v1:0',
4444
'us.anthropic.claude-3-5-haiku-20241022-v1:0',
45+
'us.amazon.nova-premier-v1:0',
4546
'us.amazon.nova-pro-v1:0',
4647
'us.amazon.nova-lite-v1:0',
4748
'us.amazon.nova-micro-v1:0',
49+
'us.deepseek.r1-v1:0',
4850
]),
4951
imageGenerationModelIds: z
5052
.array(

packages/cdk/test/__snapshots__/generative-ai-use-cases.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ exports[`GenerativeAiUseCases matches the snapshot 3`] = `
13871387
},
13881388
"AutoPrepare": true,
13891389
"Description": "Code Interpreter",
1390-
"FoundationModel": "anthropic.claude-3-sonnet-20240229-v1:0",
1390+
"FoundationModel": "us.anthropic.claude-3-5-sonnet-20241022-v2:0",
13911391
"IdleSessionTTLInSeconds": 3600,
13921392
"Instruction": "You are an advanced AI agent with the ability to execute code, generate charts, and perform complex data analysis.
13931393
Your main function is to solve problems and meet user requests by utilizing these capabilities.
@@ -1500,7 +1500,7 @@ Automatically detect the language of the user's request and think and answer in
15001500
},
15011501
"AutoPrepare": true,
15021502
"Description": "Search Agent",
1503-
"FoundationModel": "anthropic.claude-3-haiku-20240307-v1:0",
1503+
"FoundationModel": "us.anthropic.claude-3-5-sonnet-20241022-v2:0",
15041504
"IdleSessionTTLInSeconds": 3600,
15051505
"Instruction": "You are an advanced assistant with the ability to search and retrieve information from the web to perform complex research tasks.
15061506
Your main function is to solve problems and meet user requests by utilizing these capabilities.

0 commit comments

Comments
 (0)