File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Extension/src/LanguageServer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ const knownValues: { [Property in keyof ChatContextResult]?: { [id: string]: str
4646
4747const plainTextContentType = 'text/plain' ;
4848
49- export class CppConfigurationLanguageModelTool implements vscode . LanguageModelTool {
50- public async invoke ( options : vscode . LanguageModelToolInvocationOptions , token : vscode . CancellationToken ) : Promise < vscode . LanguageModelToolResult > {
49+ export class CppConfigurationLanguageModelTool implements vscode . LanguageModelTool < void > {
50+ public async invoke ( options : vscode . LanguageModelToolInvocationOptions < void > , token : vscode . CancellationToken ) : Promise < vscode . LanguageModelToolResult > {
5151 const result : vscode . LanguageModelToolResult = { } ;
5252 if ( options . requestedContentTypes . includes ( plainTextContentType ) ) {
5353 result [ plainTextContentType ] = await this . getContext ( token ) ;
You can’t perform that action at this time.
0 commit comments