feat: add Anthropic 1M context window toggle for Agents model configs (#27257)

This commit is contained in:
Michael Suchacz
2026-07-17 13:04:13 +02:00
committed by GitHub
parent 2ac2295b1e
commit 1ac106255b
12 changed files with 327 additions and 29 deletions
@@ -169,6 +169,15 @@
"input_type": "json",
"visible_when": "web_search_enabled",
"conflicts_with": ["allowed_domains"]
},
{
"json_name": "context_1m_enabled",
"go_name": "Context1MEnabled",
"type": "boolean",
"description": "Send the anthropic-beta context-1m-2025-08-07 header to unlock the 1M token context window on supported Claude models. Pair with a matching Context Limit. Long-context pricing and higher latency may apply above 200K tokens.",
"label": "1M Context Window",
"required": false,
"input_type": "select"
}
]
},