I'm not quite sure if this is a bug but maybe some internal implementation is missing. 'children' implicitly has return type 'any' because it does not have a return type annotation and is referenced ...
I filed this a few months ago (#399) and it turns out it's not a Bedrock issue, and not limited to max_tokens 1. When Claude doesn't return anything, the content array is empty. This breaks the ...