From d4a3de15bb3b3ddfc14edf51215c8e1e3b50cbb5 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Sat, 25 Jul 2026 06:49:42 +0000 Subject: [PATCH] [e2e] default the Bedrock matrix to Claude Sonnet 4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch the default Bedrock inference profile to global.anthropic.claude-sonnet-4-6 — the model from the original cost report, invocable from any region including eu-central-1. Sonnet 4.6 dropped the -YYYYMMDD-v1:0 suffix convention, so the id carries no date; AWS_BEDROCK_MODEL / the bedrock_model dispatch input still override. Pricing validation already carries anthropic.claude-sonnet-4-6 at $3/$15 per MTok in both the API-level check and the raw-SQL store audit. --- e2e/agentnetwork/chat_test.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/e2e/agentnetwork/chat_test.go b/e2e/agentnetwork/chat_test.go index 1206959dd..b1d0312ac 100644 --- a/e2e/agentnetwork/chat_test.go +++ b/e2e/agentnetwork/chat_test.go @@ -288,12 +288,16 @@ func availableProviders() []providerCase { if region == "" { region = "eu-central-1" } - // A valid Bedrock inference-profile id (region prefix + date + version), - // overridable per account. `global.` profiles can be invoked from any - // region; set AWS_BEDROCK_MODEL to match the enabled profile for the token. + // A valid Bedrock inference-profile id, overridable per account + // (AWS_BEDROCK_MODEL; also exposed as the workflow's bedrock_model + // dispatch input). `global.` profiles can be invoked from any region, + // including eu-central-1. Defaults to Sonnet 4.6 — the model from the + // original cost report. Note the suffix convention change: Sonnet 4.6 + // dropped the -YYYYMMDD-v1:0 suffix that Haiku 4.5 + // (global.anthropic.claude-haiku-4-5-20251001-v1:0) still carries. model := os.Getenv("AWS_BEDROCK_MODEL") if model == "" { - model = "global.anthropic.claude-haiku-4-5-20251001-v1:0" + model = "global.anthropic.claude-sonnet-4-6" } ps = append(ps, providerCase{name: "bedrock", catalogID: "bedrock_api", upstream: "https://bedrock-runtime." + region + ".amazonaws.com", apiKey: k, model: model, kind: harness.WireBedrock}) }