Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions src/common/models/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,30 @@ const MODEL_REGISTRY: ModelConfig[] = [
}
},

// Amazon Nova 2 Lite
{
baseId: 'nova-2-lite-v1:0',
name: 'Amazon Nova 2 Lite',
provider: 'amazon',
category: 'text',
toolUse: true,
maxTokensLimit: 5120,
inferenceProfiles: [
{
type: 'regional-us',
prefix: 'us',
regions: ['us-east-1', 'us-west-2'],
displaySuffix: '(US)'
},
{
type: 'global',
prefix: 'global',
regions: ['us-east-1', 'us-west-2'],
displaySuffix: '(Global)'
}
]
},

// Amazon Nova Micro
{
baseId: 'nova-micro-v1:0',
Expand Down
2 changes: 1 addition & 1 deletion src/main/api/sonic/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ export class NovaSonicBidirectionalStreamClient {

const response = await this.bedrockRuntimeClient.send(
new InvokeModelWithBidirectionalStreamCommand({
modelId: 'amazon.nova-sonic-v1:0',
modelId: 'amazon.nova-2-sonic-v1:0',
body: asyncIterable
})
)
Expand Down
6 changes: 2 additions & 4 deletions src/main/api/sonic/constants.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// Nova Sonic supported regions as of 2024
// Nova 2 Sonic supported regions
export const NOVA_SONIC_SUPPORTED_REGIONS = [
'us-east-1', // 米国東部 (バージニア北部)
'us-west-2', // 米国西部 (オレゴン)
'ap-northeast-1', // アジアパシフィック (東京)
'eu-north-1' // 欧州 (ストックホルム)
'us-west-2' // 米国西部 (オレゴン)
] as const

export type NovaSonicSupportedRegion = (typeof NOVA_SONIC_SUPPORTED_REGIONS)[number]
Expand Down
Loading