You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Checks
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