mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 10:50:34 +08:00
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
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user