generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 656
Open
Labels
Description
Expected Behaviour
In Python, when using a BedrockLLMAgent and the DynamoDBStorage class and when using Tools, no ToolResult is saved?
[ERROR] 2025-11-14T14:57:54.916Z 474c8063-7aaf-4e9a-xxxx-xxxxxx Error invoking Bedrock model:An error occurred (ValidationException) when calling the Converse operation: The model returned the following errors: messages.2: tool_use ids were found without tool_result blocks immediately after: tooluse_xxxxx-G1IVtjezIA. Each tool_use block must have a corresponding tool_result block in the next message.
Any inputs?
Thanks!!
Current Behaviour
Further requests failing after a first use of a Tool
Code snippet
-Possible Solution
No response