Skip to content

Bug?: Missing Tool Results #396

@diegonaya-ayigroup

Description

@diegonaya-ayigroup

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

Steps to Reproduce

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions