Skip to content

Commit

Permalink
remove maxOutputTokens for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed May 15, 2024
1 parent 7680db2 commit c57f86c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/vs/workbench/api/common/extHostLanguageModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ export class ExtHostLanguageModels implements ExtHostLanguageModelsShape {
version: data.metadata.version,
name: data.metadata.name,
maxInputTokens: data.metadata.maxInputTokens,
maxOutputTokens: data.metadata.maxOutputTokens,
countTokens(text, token) {
if (!that._allLanguageModelData.has(identifier)) {
throw extHostTypes.LanguageModelError.NotFound(identifier);
Expand Down
6 changes: 0 additions & 6 deletions src/vscode-dts/vscode.proposed.languageModels.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,6 @@ declare module 'vscode' {
*/
readonly maxInputTokens: number;

/**
* The maximum number of tokens that a model can generate in a single response.
*/
// TODO@API leave it out for now
readonly maxOutputTokens: number;

/**
* Make a chat request using a language model.
*
Expand Down

0 comments on commit c57f86c

Please sign in to comment.