You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current default configuration uses amazon.nova-pro-v1:0 as the model identifier for Amazon Bedrock's Nova-Pro model. This works in primary regions (us-east-1, us-gov-west-1), but causes API invocation errors when deployed in regions that require cross-region inference.
Error Details
When attempting to invoke the Nova-Pro model in non-primary regions with the direct model ID, the following error occurs:
ValidationException: Invocation of model ID amazon.nova-pro-v1:0 with on-demand throughput isn't supported. Retry your request with the ID or ARN of an inference profile that contains this model.
This is a known issue also reported in AWS repost.
If you use a base model, specify the model ID or its ARN.
If you use an inference profile, specify the inference profile ID or its ARN.
Reproduction Steps
Deploy the stack in a non-primary region (e.g., us-west-2) using the default configuration with bedrockModel: "amazon.nova-pro-v1:0"
Attempt to use the Nova-Pro model functionality
Observe the API invocation error
Proposed Solution
To make the stack work in all regions, update the configuration to use the inference profile ID:
constconfig: StackConfig={bedrockRegion: "us-east-1",// Works in any supported regionbedrockModel: "us.amazon.nova-pro-v1:0",// Works in both primary and non-primary regions// ...};Additionally,weshouldaddanoteintheREADMEtoexplainthisrequirementforcross-regioninference,helpingusersavoidthiscommonerrorwhendeployingtodifferentregions.Alternatively,addlogictoselecttheappropriateidentifierbasedonthedeploymentregionbycheckingifcross-regioninference is requiredfortheselectedregion.
The text was updated successfully, but these errors were encountered:
Description
The current default configuration uses
amazon.nova-pro-v1:0
as the model identifier for Amazon Bedrock's Nova-Pro model. This works in primary regions (us-east-1, us-gov-west-1), but causes API invocation errors when deployed in regions that require cross-region inference.Error Details
When attempting to invoke the Nova-Pro model in non-primary regions with the direct model ID, the following error occurs:
This is a known issue also reported in AWS repost.
Technical Background
According to the AWS documentation:
Amazon Bedrock base model IDs (on-demand throughput) lists the models that support direct invocation.
Supported Regions and models for cross-region inference shows that Nova-Pro requires cross-region inference in most regions (marked with *).
The boto3 documentation for converse_stream explains that:
Reproduction Steps
bedrockModel: "amazon.nova-pro-v1:0"
Proposed Solution
To make the stack work in all regions, update the configuration to use the inference profile ID:
The text was updated successfully, but these errors were encountered: