From ac5c8f58db63e0021acc77aa63425fbebfb4a6d5 Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Sat, 29 Aug 2026 18:58:49 +0530 Subject: [PATCH] =?UTF-8?q?fix:=20drop=20duplicate=20hy4-preview=20context?= =?UTF-8?q?=20entry=20=E2=80=94=20main's=201=5F048=5F576=20wins?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up for salvaged PR #96939: main already added hy4-preview at 1_048_576 (f7c79efbac); the cherry-picked duplicate key later in the dict silently overrode it with 1024000. --- agent/model_metadata.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/agent/model_metadata.py b/agent/model_metadata.py index 7a7bc1f183..f0ef0011d6 100644 --- a/agent/model_metadata.py +++ b/agent/model_metadata.py @@ -583,8 +583,6 @@ DEFAULT_CONTEXT_LENGTHS = { "hy3-preview": 262144, # Tencent — Hy3 (GA successor to Hy3 Preview), same 256K window. "hy3": 262144, - # Tencent — Hy4 preview (Hunyuan) with 1M context window. - "hy4-preview": 1024000, # OpenCode Zen — "Ox Alpha" stealth model (x-preview-f-free). 1M context # per OpenCode's launch announcement (2026-08-20); free, ZDR. "x-preview-f": 1_048_576,