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
fix(bedrock): recover when model rejects toolSpec.strict as unknown field
Opus 4.8 on Bedrock fails hard with "tools.0.custom.strict: Extra inputs
are not permitted": Bedrock forwards toolSpec.strict into the Anthropic
payload and the model rejects it as an extra input instead of Bedrock
returning a "does not support strict" error. That wording matched no
STRUCTURED_OUTPUT_UNSUPPORTED pattern, so the error classified as GENERIC
and the strip-strict retry never fired — every request failed.
Add "custom.strict" and "strict: extra inputs are not permitted" to the
detection patterns so the existing recovery path (mark model unsupported
for 30 days, retry once without strict) handles this rejection shape.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments