Checks
Strands Version
1.30.0
Python Version
3.13
Operating System
macOS26.3.1
Installation Method
pip
Steps to Reproduce
- Create an agent with Nova 2 Lite as the model using Amazon Bedrock provider.
- Set the slidingwindow size to be lower to hit the window limit earlier.
- Generate enough conversations with the agent to fill up the sliding window size
- User will hit a ValidationException: A conversation must start with a user message
Expected Behavior
Even after the sliding window size is reached, the context sent to the model should always start with a user message. No ValidationExceptions.
Actual Behavior
ValidationException: A conversation must start with a user message
Additional Context
No response
Possible Solution
No response
Related Issues
No response