Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

[BUG] Bedrock model provider validation error when using conversation manager #727

Description

@ethan-stone

Checks

  • I have updated to the lastest minor and patch version of Strands
  • I have checked the documentation and this is not expected behavior
  • I have searched ./issues and there are no duplicates of my issue

Strands Version

0.7.0

Node.js Version

22.22.1

Operating System

26.3.1

Installation Method

other

Steps to Reproduce

Code snippet: https://gist.github.com/ethan-stone/533a3a3e957257bb760f7ab303c6721a

Run the code snippet. You will see that a ModelError is thrown, indicating that when using Bedrock as the provider the messages sent must start with a user message.

Expected Behavior

The conversation manager should be model agnostic or at minimum any behavior that does differ should be documented.

Actual Behavior

Bedrock model provider fails with sliding window conversation manager if start of window is a non-user message.

Additional Context

No response

Possible Solution

No response

Related Issues

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

Language

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions