fix(ai): restore antigravity context override block

This commit is contained in:
Mario Zechner
2026-03-18 00:16:01 +01:00
parent d70dfbeb3e
commit a9f534adfc

View File

@@ -678,6 +678,12 @@ async function generateModels() {
) {
candidate.contextWindow = 1000000;
}
if (
candidate.provider === "google-antigravity" &&
(candidate.id === "claude-opus-4-6-thinking" || candidate.id === "claude-sonnet-4-6")
) {
candidate.contextWindow = 1000000;
}
// OpenCode variants list Claude Sonnet 4/4.5 with 1M context, actual limit is 200K
if (