Skip to content

fix(lambdas): correct Sonnet 4.6 Bedrock inference profile ID#33

Open
NeiruBugz wants to merge 1 commit intomainfrom
fix/correct-sonnet-4-6-model-id
Open

fix(lambdas): correct Sonnet 4.6 Bedrock inference profile ID#33
NeiruBugz wants to merge 1 commit intomainfrom
fix/correct-sonnet-4-6-model-id

Conversation

@NeiruBugz
Copy link
Collaborator

Summary

  • Fix invalid Bedrock model identifier us.anthropic.claude-sonnet-4-6-v1:0us.anthropic.claude-sonnet-4-6
  • Sonnet 4.6 dropped the -v1:0 suffix convention used by older models (e.g. Haiku 4.5 still has it)
  • This caused ValidationException: The provided model identifier is invalid on all 3 Sonnet-powered Lambda steps: screening_eval, technical_eval, recommendation

Changed files

File Purpose
app/lambdas/shared/config.py Runtime default model ID
infra/variables.tf Terraform variable default
infra/terraform.tfvars.example Example config
infra/ROLLOUT.md Documentation
app/lambdas/tests/test_*.py (4 files) Test env defaults

Test plan

  • Verify terraform plan shows no unexpected changes
  • Deploy lambdas and trigger an evaluation pipeline run with a Sonnet-powered step
  • Confirm screening_eval, technical_eval, and recommendation steps complete without ValidationException
  • Update terraform.tfvars in deployed environment (gitignored)

🤖 Generated with Claude Code

Sonnet 4.6 uses the shorter ID format `us.anthropic.claude-sonnet-4-6`
without the `-v1:0` suffix that older models have. The previous ID
`us.anthropic.claude-sonnet-4-6-v1:0` caused ValidationException on all
Sonnet-powered Lambda steps (screening_eval, technical_eval, recommendation).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant