mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
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:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user