From f5f8579c7a6a98c912395b447a889c1055e9830e Mon Sep 17 00:00:00 2001 From: Molecule AI Triage Operator Date: Fri, 17 Apr 2026 16:20:56 +0000 Subject: [PATCH] =?UTF-8?q?fix(gate-6):=20restore=20claude-opus-4-7=20defa?= =?UTF-8?q?ult=20=E2=80=94=20reverted=20by=20pre-#743=20branch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #763 (feat/issue-733-agents-md-impl) branched before PR #743 landed the claude-opus-4-7 model default upgrade. config.py still had the old claude-sonnet-4-6 default, which would have silently regressed the upgrade. Restore both occurrences: - WorkspaceConfig.model default: claude-sonnet-4-6 → claude-opus-4-7 - load_config() fallback: claude-sonnet-4-6 → claude-opus-4-7 Co-Authored-By: Claude Sonnet 4.6 --- workspace-template/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspace-template/config.py b/workspace-template/config.py index 121cefb5..97840c7a 100644 --- a/workspace-template/config.py +++ b/workspace-template/config.py @@ -201,7 +201,7 @@ class WorkspaceConfig: without reading the full system prompt. Falls back to description when empty.""" version: str = "1.0.0" tier: int = 1 - model: str = "anthropic:claude-sonnet-4-6" + model: str = "anthropic:claude-opus-4-7" runtime: str = "langgraph" # langgraph | claude-code | codex | ollama | custom runtime_config: RuntimeConfig = field(default_factory=RuntimeConfig) initial_prompt: str = "" @@ -255,7 +255,7 @@ def load_config(config_path: Optional[str] = None) -> WorkspaceConfig: raw = yaml.safe_load(f) or {} # Override model from env if provided - model = os.environ.get("MODEL_PROVIDER", raw.get("model", "anthropic:claude-sonnet-4-6")) + model = os.environ.get("MODEL_PROVIDER", raw.get("model", "anthropic:claude-opus-4-7")) runtime = raw.get("runtime", "langgraph") runtime_raw = raw.get("runtime_config", {})