The types LanguageModelChatTool
and LanguageModelToolInformation
are incompatible when exactOptionalPropertyTypes
set
#241285
Labels
bug
Issue identified by VS Code Team member as probable bug
unreleased
Patch has not yet been released in VS Code Insiders
Milestone
Version: 1.98.0-insider
Commit: 105d4af
Date: 2025-02-19T06:43:12.388Z
Electron: 34.1.0
ElectronBuildId: 10990655
Chromium: 132.0.6834.194
Node.js: 20.18.1
V8: 13.2.152.38-electron.0
OS: Darwin x64 22.6.0
Steps to Reproduce:
"exactOptionalPropertyTypes": true
intsconfig.json
vscode.lm.tools.find
withvscode.lm.invokeTool
because the typesLanguageModelChatTool
andLanguageModelToolInformation
are incompatible.inputSchema
property in both types should beinputSchema?: object | undefined;
The text was updated successfully, but these errors were encountered: