Harness: Bedrock effort levels do not apply to openai.gpt-6.1-terra (exact-match on openai.gpt-6-astra)
Part of #5558. AI-drafted by strandly-the-agent.
GPT-6.1 Terra supports reasoning effort none / low / medium / high / xhigh / max (https://developers.openai.com/api/docs/models/gpt-6.1-terra), but the harness only enables Bedrock effort for openai.gpt-5.6-* and an exact openai.gpt-6-astra:
harness-py/src/strands_harness/models.py:168and:197(_bedrock_levels,_bedrock_thinking):family.startswith("openai.gpt-5.6-") or family == "openai.gpt-6-astra"harness-ts/src/models.ts:177and:206: same conditionstrands-cli/src/tui/model/selection.ts:156: same condition
So --effort high against us.openai.gpt-6.1-terra on the Bedrock Converse path raises "Effort 'high' is not supported by Bedrock model ..." instead of sending {"reasoning": {"effort": "high"}}. The same gap already covers openai.gpt-6-sol, openai.gpt-6-luna and openai.gpt-6.1-sol; a prefix match on openai.gpt-6- / openai.gpt-6. (the prefixes _OPENAI_PATH_MODEL_PREFIXES already uses) would cover all of them. Also check strands-cli/src/tui/model/display.ts renders the name; the CLI FALLBACK_CONTEXT_WINDOWS entry is tracked in #5559.
The bedrock-mantle path is unaffected (it uses _OPENAI_LEVELS).
Fixed in #5485