a7e911150c
Addresses hermes-sweeper review on PR #66167: 1. _convert_content_to_converse() still emitted {"text": part} directly for plain-string items inside a content list (as opposed to {"type": "text"} dicts), bypassing _safe_text() entirely. A whitespace-only string item (e.g. [" "]) could still reach Bedrock as a blank block. Now routed through _safe_text(). 2. tests/agent/test_bedrock_adapter.py::TestEmptyTextBlockFix asserted the pre-fix behavior (whitespace -> literal space " "), contradicting the new _safe_text()/_EMPTY_TEXT_PLACEHOLDER behavior added in 4618095a. Updated assertions to expect the non-whitespace placeholder, plus added a regression test for the list-string-item case above.