Investigating KeyError Issues After Migrating from Claude Sonnet 4.6 to Sonnet 5 with Bedrock Converse API
よなみね2026.07.07
- • Migration to Sonnet 5 caused intermittent KeyError when accessing response text
- • Sampling parameters (temperature, top_p, top_k) no longer supported; adaptive thinking always enabled
- • Must iterate through content blocks to safely extract text instead of hardcoding content[0]