diff --git a/src/vs/workbench/api/common/extHostLanguageModels.ts b/src/vs/workbench/api/common/extHostLanguageModels.ts index 225a0fba95b08..97ee59fa60179 100644 --- a/src/vs/workbench/api/common/extHostLanguageModels.ts +++ b/src/vs/workbench/api/common/extHostLanguageModels.ts @@ -159,8 +159,8 @@ export class ExtHostLanguageModels implements ExtHostLanguageModelsShape { name: metadata.name ?? '', family: metadata.family ?? '', version: metadata.version, - maxInputTokens: metadata.maxInputTokens ?? metadata.tokens, - maxOutputTokens: metadata.maxOutputTokens ?? metadata.tokens, + maxInputTokens: metadata.maxInputTokens, + maxOutputTokens: metadata.maxOutputTokens, auth, targetExtensions: metadata.extensions }); diff --git a/src/vscode-dts/vscode.proposed.chatProvider.d.ts b/src/vscode-dts/vscode.proposed.chatProvider.d.ts index 1939929db22a5..7fc7c3e3b97b4 100644 --- a/src/vscode-dts/vscode.proposed.chatProvider.d.ts +++ b/src/vscode-dts/vscode.proposed.chatProvider.d.ts @@ -48,11 +48,6 @@ declare module 'vscode' { readonly maxOutputTokens: number; - /** - * @deprecated - */ - tokens: number; - /** * When present, this gates the use of `requestLanguageModelAccess` behind an authorization flow where * the user must approve of another extension accessing the models contributed by this extension.