From fe95d83e20486f9f86aa0c95b32b536b61398d6c Mon Sep 17 00:00:00 2001 From: Mukul Sharma Date: Thu, 1 Oct 2026 10:55:58 -0700 Subject: [PATCH 1/2] chore(model-tiers): bump balanced tier from sonnet-4-6 to sonnet-5-5 Co-Authored-By: Claude Sonnet 4.6 (1M context) --- src/assistant/model_tiers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/assistant/model_tiers.py b/src/assistant/model_tiers.py index 53df83a..c99e266 100644 --- a/src/assistant/model_tiers.py +++ b/src/assistant/model_tiers.py @@ -41,17 +41,17 @@ _DEFAULTS = { "bedrock": { "frontier": "us.anthropic.claude-opus-4-8", - "balanced": "us.anthropic.claude-sonnet-4-6", + "balanced": "us.anthropic.claude-sonnet-5-5", "cheap": "us.anthropic.claude-haiku-4-5", }, "anthropic": { "frontier": "claude-opus-4-8", - "balanced": "claude-sonnet-4-6", + "balanced": "claude-sonnet-5-5", "cheap": "claude-haiku-4-5", }, "vertex": { "frontier": "claude-opus-4-8", - "balanced": "claude-sonnet-4-6", + "balanced": "claude-sonnet-5-5", "cheap": "claude-haiku-4-5", }, } From ef9eea53985704a43fde683d3f38c96668c16a75 Mon Sep 17 00:00:00 2001 From: Mukul Sharma Date: Thu, 1 Oct 2026 11:04:05 -0700 Subject: [PATCH 2/2] test(model-tiers): update balanced-tier assertions to sonnet-5-5 Co-Authored-By: Claude Sonnet 4.6 (1M context) --- tests/test_comms_session.py | 6 +++--- tests/test_model_tiers.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_comms_session.py b/tests/test_comms_session.py index 38a0524..f5946d8 100644 --- a/tests/test_comms_session.py +++ b/tests/test_comms_session.py @@ -68,7 +68,7 @@ def test_warm_launch_declares_bedrock_backend_and_keeps_1m_context(monkeypatch): monkeypatch.setenv("CLAUDE_CODE_USE_BEDROCK", "1") cmd = cs._warm_launch(ag.CLAUDE) assert cmd.startswith("CLAUDE_CODE_USE_BEDROCK=1 ") - assert "us.anthropic.claude-sonnet-4-6[1m]" in cmd + assert "us.anthropic.claude-sonnet-5-5[1m]" in cmd def test_warm_launch_declares_non_bedrock_backend_and_still_gets_1m_context(monkeypatch): @@ -120,13 +120,13 @@ def test_resolve_warm_model_and_backend_respects_env(monkeypatch): monkeypatch.setenv("CLAUDE_CODE_USE_BEDROCK", "1") model, backend, pinned = cs._resolve_warm_model_and_backend() assert backend == "bedrock" - assert model == "us.anthropic.claude-sonnet-4-6[1m]" + assert model == "us.anthropic.claude-sonnet-5-5[1m]" assert pinned is False monkeypatch.setenv("CLAUDE_CODE_USE_BEDROCK", "0") model, backend, pinned = cs._resolve_warm_model_and_backend() assert backend == "anthropic" - assert model == "claude-sonnet-4-6[1m]" + assert model == "claude-sonnet-5-5[1m]" assert pinned is False monkeypatch.setenv("COMMS_MODEL", "my-pinned-id") diff --git a/tests/test_model_tiers.py b/tests/test_model_tiers.py index 8477ccc..8e2458d 100644 --- a/tests/test_model_tiers.py +++ b/tests/test_model_tiers.py @@ -92,7 +92,7 @@ def test_bedrock_ids(self): os.environ["CLAUDE_CODE_USE_BEDROCK"] = "1" # frontier is a CURRENT Opus (not the deprecated 4-1 the review flagged) self.assertEqual(mt.model_for("frontier"), "us.anthropic.claude-opus-4-8") - self.assertEqual(mt.model_for("balanced"), "us.anthropic.claude-sonnet-4-6") + self.assertEqual(mt.model_for("balanced"), "us.anthropic.claude-sonnet-5-5") self.assertEqual(mt.model_for("cheap"), "us.anthropic.claude-haiku-4-5") def test_anthropic_ids_are_bare(self): @@ -113,7 +113,7 @@ def test_provider_hint_pins_id_format_independent_of_detection(self): def test_long_context_suffix_is_opt_in_on_bedrock_and_anthropic(self): os.environ["CLAUDE_CODE_USE_BEDROCK"] = "1" self.assertEqual(mt.model_for("balanced", long_context=True), - "us.anthropic.claude-sonnet-4-6[1m]") + "us.anthropic.claude-sonnet-5-5[1m]") # not requested → no suffix (the mem0 path stays clean) self.assertNotIn("[1m]", mt.model_for("cheap")) # direct Anthropic ALSO gets it when requested — verified live: the @@ -121,7 +121,7 @@ def test_long_context_suffix_is_opt_in_on_bedrock_and_anthropic(self): # (2026-09-05 — an earlier version wrongly called this Bedrock-only). os.environ["MODEL_PROVIDER"] = "anthropic" self.assertEqual(mt.model_for("balanced", long_context=True), - "claude-sonnet-4-6[1m]") + "claude-sonnet-5-5[1m]") def test_per_tier_override_is_verbatim(self): os.environ["CLAUDE_CODE_USE_BEDROCK"] = "1"