In "Step 3: Test the Strands agent", I get the following error:
Testing Strands Agent with Knowledge Base integration...
============================================================
Test 1: Which cities have the lowest scores?
----------------------------------------
Error: An error occurred (ValidationException) when calling the ConverseStream operation: 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.
Fix is to change the model string used by the agent to an inference profile:
model = BedrockModel(model_id="us.amazon.nova-pro-v1:0")
In "Step 3: Test the Strands agent", I get the following error:
Fix is to change the model string used by the agent to an inference profile:
model = BedrockModel(model_id="us.amazon.nova-pro-v1:0")