mirror of
https://github.com/Microsoft/vscode
synced 2024-07-05 01:08:57 +00:00
chore: Remove deprecated tokens property from vscode.proposed.chatProvider.d.ts (#213301)
* chore: Remove deprecated tokens property from vscode.proposed.chatProvider.d.ts * fix compiler
This commit is contained in:
parent
d42d42e5b0
commit
2d174613d4
|
@ -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
|
||||
});
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user