Give me a moment I'll replicate the error Right now I'm fighting bedrock's useless ValidationExceptions that gave 100% no traceback except this piece of json {<EventPayload.EXCEPTION: 'exception'>: ValidationException('An error occurred (ValidationException) when calling the Converse operation: Expected toolResult blocks at messages.0.content for the following Ids: tooluse_8OCpeEUhSBmX6hVMBD50Eg')}
π€ Hmm weird. I don't have access to bedrock to test this so I cant help much. But sounds like the list of messages being passed to bedrock isn't being converted into an expected format
Actually It's occasional the issue comes when either error is not consistent or output is not consistent I passed 5 tools and it was able to use all tools including some retriever tools but somehow the issue evades from everywhere like there the exact message that generates error while returning was able to store correct response without error in the chat store
@Logan M for Say the error originated while generating this message while In the chatstore the responese is correct and its complete as well by role "assistant"
@Logan M I've not gone in depth of llama core package So I'll ask you does this tool response looks consistant for a retriever tool till uuid which is actually ulid you have the metadata of vector store
And TBH the biggest laugh stock is AWS cloudwatch its also returning the same error while we have a proper correct answere from same request in Chat Store IDK what's going on with it