You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle dict input in _decode_tool_use for Bedrock streaming
When content_block_start contains tool_use with input as empty dict {}, _decode_tool_use fails trying to json.loads() a dict. Added isinstance check to skip decoding if input is already a dict.
Copy file name to clipboardExpand all lines: instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/extensions/bedrock_utils.py
0 commit comments