From 0626956fc3d2d458ff16f8ce903ea9320657d2b1 Mon Sep 17 00:00:00 2001 From: iSanae233 Date: Fri, 6 Nov 2026 17:36:24 +0800 Subject: [PATCH] fix(llm): recognize published GPT-6 context capacities Add the official context capacities for GPT-6 Sol and Luna, GPT-6.1 Sol and Terra alongside the existing Astra entry. This prevents valid tool results from being trimmed against the fallback context budget. https://developers.openai.com/api/docs/models/all Co-Authored-By: GPT-6.1 Sol High --- deeptutor/services/llm/context_window.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deeptutor/services/llm/context_window.py b/deeptutor/services/llm/context_window.py index 4e207e22e..a8a410e4d 100644 --- a/deeptutor/services/llm/context_window.py +++ b/deeptutor/services/llm/context_window.py @@ -117,6 +117,10 @@ KNOWN_CONTEXT_WINDOWS: dict[str, int] = { "gpt-5.6-sol": 1050000, "gpt-5.6-terra": 1050000, "gpt-6-astra": 1050000, + "gpt-6-luna": 1050000, + "gpt-6-sol": 1050000, + "gpt-6.1-sol": 1050000, + "gpt-6.1-terra": 1050000, "kimi-k2.6": 262144, "kimi-k2.7-code": 262144, "kimi-k2.7-code-highspeed": 262144,