Skip to content

chore(deps): update strands-agents requirement from >=0.1.0 to >=1.35.0 in /apps/functions#25

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/apps/functions/strands-agents-gte-1.35.0
Open

chore(deps): update strands-agents requirement from >=0.1.0 to >=1.35.0 in /apps/functions#25
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/apps/functions/strands-agents-gte-1.35.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 17, 2026

Updates the requirements on strands-agents to permit the latest version.

Release notes

Sourced from strands-agents's releases.

v1.35.0

What's Changed

Features

Bedrock Service Tier Support — PR#1799

Amazon Bedrock now offers service tiers (Priority, Standard, Flex) that let you control the trade-off between latency and cost on a per-request basis. BedrockModel accepts a new service_tier configuration field, consistent with how other Bedrock-specific features like guardrails are exposed. When not set, the field is omitted and Bedrock uses its default behavior.

from strands import Agent
from strands.models.bedrock import BedrockModel
Use "flex" tier for cost-optimized batch processing
model = BedrockModel(
model_id="us.anthropic.claude-sonnet-4-20250514-v1:0",
service_tier="flex",
)
agent = Agent(model=model)
Use "priority" for latency-sensitive applications
realtime_model = BedrockModel(
model_id="us.anthropic.claude-sonnet-4-20250514-v1:0",
service_tier="priority",
)

Valid values are "default", "priority", and "flex". If a model or region does not support the specified tier, Bedrock returns a ValidationException.

Bug Fixes

  • Sliding window conversation manager user-first enforcementPR#2087: The sliding window could produce a trimmed conversation starting with an assistant message, causing ValidationException on providers that require user-first ordering (including Bedrock Nova). The trim-point validation now ensures the first remaining message always has role == "user". Also fixed a short-circuit logic bug in the toolUse guard that let orphaned tool-use blocks slip through at window boundaries.

  • MCP _meta forwardingPR#1918, PR#2081: Custom metadata per the MCP spec was silently dropped because MCPClient never forwarded the _meta field to ClientSession.call_tool(). Additionally, the OTEL instrumentation used model_dump() instead of model_dump(by_alias=True), serializing the field as "meta" instead of "_meta" and corrupting the payload. Both the direct call_tool and task-augmented execution paths now correctly forward meta.

  • Tool exception propagation to OpenTelemetry spansPR#2046: When a tool raised an exception, the original exception was dropped before reaching end_tool_call_span, causing all tool spans to get StatusCode.OK even on errors. Tool errors now correctly propagate with StatusCode.ERROR, preserving the original exception type and traceback for observability backends like Langfuse.

  • Anthropic premature stream terminationPR#2047: The Anthropic provider crashed with AttributeError when the stream terminated before the final message_stop event, because it accessed event.message.usage on event types that lack a .message attribute. Now uses the Anthropic SDK's stream.get_final_message() to read accumulated usage from all received events, gracefully handling premature termination and empty streams.

  • Anthropic Pydantic deprecation warningsPR#2044: Fixed message_stop event handling to avoid Pydantic deprecation warnings.

New Contributors

... (truncated)

Commits
  • cd5da4f fix(test): fix anthropic stream test mock missing get_final_message (#2094)
  • 289e22a fix(test): update session integ test for sliding window conversation manager ...
  • f58117c ci: add weekly markdown link check workflow (#2088)
  • 2f9ffb1 fix: handle premature stream termination for Anthropic (#1868) (#2047)
  • 46937d2 fix: forward meta to MCP task-augmented tool calls (#2081)
  • 65b06d9 fix: enforce that the first message is a user message in the sliding window c...
  • e7a2174 fix(docs): update 19 broken documentation links in README (#1906)
  • 287c5b6 fix: propagate tool exceptions to spans so StatusCode.ERROR is set correctly ...
  • a19e73d fix(anthropic): avoid Pydantic warnings for message_stop events (#2044)
  • 1682a0c fix: forward _meta to MCP tool calls and fix model_dump alias seriali… (#1918)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [strands-agents](https://github.com/strands-agents/sdk-python) to permit the latest version.
- [Release notes](https://github.com/strands-agents/sdk-python/releases)
- [Commits](strands-agents/sdk-python@v0.1.0...v1.35.0)

---
updated-dependencies:
- dependency-name: strands-agents
  dependency-version: 1.35.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants