Add 'isExclusive' flag for tool selection (#247267)

* Add 'isExclusive' flag for tool selection
For prompts with tools to exclude non-selected tools

* Fix
This commit is contained in:
Rob Lourens
2025-04-23 18:42:00 -07:00
committed by GitHub
parent ed40c856ec
commit d9bc5b09ea
9 changed files with 36 additions and 20 deletions

View File

@@ -227,19 +227,6 @@ declare module 'vscode' {
}
export interface ChatRequest {
/**
* A list of tools that the user selected for this request, when `undefined` any tool
* from {@link lm.tools} should be used.
*
* Tools can be called with {@link lm.invokeTool} with input that match their
* declared `inputSchema`.
*/
readonly tools: readonly LanguageModelToolInformation[] | undefined;
}
/**
* Does this piggy-back on the existing ChatRequest, or is it a different type of request entirely?
* Does it show up in history?