mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
Update RequestTurn2 to allow passing a request Id from chat extension (#293263)
This commit is contained in:
@@ -132,6 +132,10 @@ declare module 'vscode' {
|
||||
* ChatRequestTurn + private additions. Note- at runtime this is the SAME as ChatRequestTurn and instanceof is safe.
|
||||
*/
|
||||
export class ChatRequestTurn2 {
|
||||
/**
|
||||
* The id of the chat request. Used to identity an interaction with any of the chat surfaces.
|
||||
*/
|
||||
readonly id?: string;
|
||||
/**
|
||||
* The prompt as entered by the user.
|
||||
*
|
||||
@@ -170,7 +174,7 @@ declare module 'vscode' {
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
constructor(prompt: string, command: string | undefined, references: ChatPromptReference[], participant: string, toolReferences: ChatLanguageModelToolReference[], editedFileEvents: ChatRequestEditedFileEvent[] | undefined);
|
||||
constructor(prompt: string, command: string | undefined, references: ChatPromptReference[], participant: string, toolReferences: ChatLanguageModelToolReference[], editedFileEvents: ChatRequestEditedFileEvent[] | undefined, id: string | undefined);
|
||||
}
|
||||
|
||||
export class ChatResponseTurn2 {
|
||||
|
||||
Reference in New Issue
Block a user