Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
fix: include aiobotocore in the bedrock extra (#6419)
Tiago Freire8b197a7ca8d7
diff --git a/lib/crewai/pyproject.toml b/lib/crewai/pyproject.tomlindex 30c947392..66ba2b1f1 100644--- a/lib/crewai/pyproject.toml+++ b/lib/crewai/pyproject.toml@@ -92,6 +92,7 @@ litellm = []bedrock = ["boto3~=1.42.90",+ "aiobotocore~=3.5.0",]google-genai = ["google-genai~=1.65.0",diff --git a/lib/crewai/src/crewai/llms/providers/bedrock/completion.py b/lib/crewai/src/crewai/llms/providers/bedrock/completion.pyindex ef316e8f4..d10fc2ba8 100644--- a/lib/crewai/src/crewai/llms/providers/bedrock/completion.py+++ b/lib/crewai/src/crewai/llms/providers/bedrock/completion.py@@ -492,7 +492,7 @@ class BedrockCompletion(BaseLLM):if not AIOBOTOCORE_AVAILABLE:raise NotImplementedError("Async support for AWS Bedrock requires aiobotocore. "- 'Install with: uv add "crewai[bedrock-async]"'+ 'Install with: uv add "crewai[bedrock]"')with llm_call_context():diff --git a/uv.lock b/uv.lockindex 93e0f8be8..61c80e7a1 100644--- a/uv.lock+++ b/uv.lock@@ -13,7 +13,7 @@ resolution-markers = [][options]-exclude-newer = "2026-06-20T16:46:21.117658Z"+exclude-newer = "2026-06-28T20:06:34.114646Z"exclude-newer-span = "P3D"[options.exclude-newer-package]@@ -1371,6 +1371,7 @@ azure-ai-inference = [{ name = "azure-identity" },]bedrock = [+ { name = "aiobotocore" },{ name = "boto3" },]docling = [@@ -1418,6 +1419,7 @@ watson = [requires-dist = [{ name = "a2a-sdk", marker = "extra == 'a2a'", specifier = "~=0.3.10" },{ name = "aiobotocore", marker = "extra == 'aws'", specifier = "~=3.5.0" },+ { name = "aiobotocore", marker = "extra == 'bedrock'", specifier = "~=3.5.0" },{ name = "aiocache", extras = ["memcached", "redis"], marker = "extra == 'a2a'", specifier = "~=0.12.3" },{ name = "aiofiles", specifier = "~=24.1.0" },{ name = "aiosqlite", specifier = "~=0.21.0" },