@@ -26,7 +26,7 @@ from crewai_tools.aws.bedrock import BedrockInlineAgentTool
2626
2727# Initialize the tool with direct parameters
2828aws_security_analyzer = BedrockInlineAgentTool(
29- model_id = " us.amazon.nova-pro-v1:0" ,
29+ model_id = " bedrock/ us.amazon.nova-pro-v1:0" ,
3030 region_name = " us-east-1" ,
3131 instruction = """ You are an AWS security analysis expert specializing in identifying security vulnerabilities and compliance issues.
3232
@@ -59,7 +59,7 @@ Example `bedrock_agents.yaml` file:
5959
6060``` yaml
6161service_limits_analyzer :
62- model_id : " us.anthropic.claude-3-7-sonnet-20250219-v1:0"
62+ model_id : " bedrock/ us.anthropic.claude-3-7-sonnet-20250219-v1:0"
6363 instruction : |
6464 You are an AWS service limits and quotas expert.
6565 Your task is to analyze AWS service usage, identify potential quota issues, and recommend solutions.
@@ -134,7 +134,7 @@ print(result)
134134| Argument | Type | Required | Default | Description |
135135| ----------| ------| ----------| ---------| -------------|
136136| config | dict | Yes* | None | Configuration dictionary for the tool (alternative to individual parameters) |
137- | model_id | str | Yes* | None | The Bedrock model ID to use for the inline agent |
137+ | model_id | str | Yes* | None | The Bedrock model ID to use for the inline agent. Follow model |
138138| region_name | str | Yes* | "us-east-1" | AWS region for Bedrock |
139139| instruction | str | Yes* | None | Instructions for the inline agent |
140140| enable_trace | bool | No | False | Whether to enable trace logging |
@@ -171,7 +171,7 @@ from crewai_tools.aws.bedrock.exceptions import BedrockAgentError, BedrockValida
171171try :
172172 # Initialize the tool
173173 bedrock_agent = BedrockInlineAgentTool(
174- model_id = " us.amazon.nova-pro-v1:0" ,
174+ model_id = " bedrock/ us.amazon.nova-pro-v1:0" ,
175175 region_name = " us-east-1" ,
176176 instruction = " You are an AWS security expert..." ,
177177 enable_code_interpreter = True
0 commit comments