File tree 1 file changed +2
-2
lines changed
Extension/src/LanguageServer
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
46
46
47
47
const plainTextContentType = 'text/plain' ;
48
48
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 > {
51
51
const result : vscode . LanguageModelToolResult = { } ;
52
52
if ( options . requestedContentTypes . includes ( plainTextContentType ) ) {
53
53
result [ plainTextContentType ] = await this . getContext ( token ) ;
You can’t perform that action at this time.
0 commit comments