1241
// When both tiers cost the same and the user prefers long context, show only the long-context option as a non-switchable indicator. See microsoft/vscode#322950, microsoft/vscode#323116.
1242
if (this._isPreferLongContextEnabled() && !hasLongContextSurcharge(billing)) {
1244
>
type: 'number',
1245
>
title: localize('copilot.modelContextSize.title', "Context Size"),
1246
>
description: localize('copilot.modelContextSize.description', "Selects the context window size for this model."),
1247
>
default: longContextMax,
1248
>
enum: [longContextMax],
1249
>
enumLabels: [formatTokenCount(longContextMax)],
1250
>
enumDescriptions: [
1251
>
localize('copilot.modelContextSize.longerSessions', "Longer sessions"),
1252
>
],
1253
>
};
1254
>
}
1255
1256
return {