v1.22.0 #1480
Closed
zastrowm
announced in
Announcements
v1.22.0
#1480
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Release notes: https://github.com/strands-agents/sdk-python/releases/tag/v1.22.0
Major Features
MCP Resource Operations - PR#1117
The MCP client now supports resource operations, enabling agents to list, read, and work with resources provided by MCP servers. This includes static resources, binary resources, and parameterized resource templates.
Bedrock Guardrails Latest Message Option - PR#1224
Bedrock models now support the
guardrail_latest_messageparameter, which sends only the latest user message to AWS Bedrock Guardrails for evaluation instead of the entire conversation history. This reduces token usage and enables conversation recovery after guardrail interventions.See the Bedrock Guardrails documentation for more details.
LiteLLM Non-Streaming Support - PR#512
The LiteLLM model provider now correctly handles non-streaming responses, fixing an issue where
stream=Falsewould raise an error. Both streaming and non-streaming modes now work seamlessly.Major Bug Fixes
Concurrent Agent Invocations - PR#1453
Fixed critical agent state corruption when multiple concurrent invocations occurred on the same agent instance. A new
ConcurrencyExceptionis now raised to prevent concurrent invocations and protect agent state integrity.Gemini Empty Stream Handling - PR#1420
Fixed UnboundLocalError crash when Gemini returns an empty event stream by properly initializing variables before the stream loop.
Deprecation Warning on Import - PR#1380
Fixed unwanted deprecation warnings appearing when importing
strandsby using lazy__getattr__to emit warnings only when deprecated aliases are actually accessed.What's Changed
New Contributors
Full Changelog: v1.21.0...v1.22.0
Beta Was this translation helpful? Give feedback.
All reactions