Skip to content

fix(evaluators): update default judge model to Claude Sonnet 4.6#215

Merged
afarntrog merged 1 commit intostrands-agents:mainfrom
afarntrog:default_model_id_upgrade
May 6, 2026
Merged

fix(evaluators): update default judge model to Claude Sonnet 4.6#215
afarntrog merged 1 commit intostrands-agents:mainfrom
afarntrog:default_model_id_upgrade

Conversation

@afarntrog
Copy link
Copy Markdown
Contributor

Description

Claude Sonnet 4 (us.anthropic.claude-sonnet-4-20250514-v1:0) is now in legacy mode on Amazon Bedrock and will eventually be retired. When that happens, all 10 LLM-based evaluators that rely on the default model would silently fail since Experiment._run_evaluator() catches exceptions and records them as score: 0 results.

Update DEFAULT_BEDROCK_MODEL_ID to global.anthropic.claude-sonnet-4-6, matching the default used in the main Strands agents SDK (sdk-python/src/strands/models/bedrock.py). Also update the README example to reference the new model ID.

Related Issues

Closes #200

Documentation PR

Type of Change

Bug fix
Breaking change

Testing

How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli

  • I ran hatch run prepare

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Claude Sonnet 4 (us.anthropic.claude-sonnet-4-20250514-v1:0) is now in
legacy mode on Amazon Bedrock and will eventually be retired. When that
happens, all 10 LLM-based evaluators that rely on the default model
would silently fail since Experiment._run_evaluator() catches
exceptions and records them as score: 0 results.

Update DEFAULT_BEDROCK_MODEL_ID to global.anthropic.claude-sonnet-4-6,
matching the default used in the main Strands agents SDK
(sdk-python/src/strands/models/bedrock.py). Also update the README
example to reference the new model ID.

Closes strands-agents#200
@afarntrog afarntrog merged commit 3876448 into strands-agents:main May 6, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default judge model uses deprecated Claude Sonnet 4 — should be updated

2 participants