@@ -50,12 +50,6 @@ declare module 'vscode' {
5050 constructor ( cell : TextDocument ) ;
5151 }
5252
53- export interface ChatRequestSessionGrouping {
54- readonly id : string ;
55- readonly order : number ;
56- readonly kind ?: string ;
57- }
58-
5953 export interface ChatRequest {
6054 /**
6155 * The id of the chat request. Used to identity an interaction with any of the chat surfaces.
@@ -122,11 +116,6 @@ declare module 'vscode' {
122116 */
123117 readonly parentRequestId ?: string ;
124118
125- /**
126- * Optional metadata used to group related requests together in the UI.
127- */
128- readonly sessionGrouping ?: ChatRequestSessionGrouping ;
129-
130119 /**
131120 * The permission level for tool auto-approval in this request.
132121 * - `'autoApprove'`: Auto-approve all tool calls and retry on errors.
@@ -199,10 +188,15 @@ declare module 'vscode' {
199188 */
200189 readonly modelId ?: string ;
201190
191+ /**
192+ * The mode instructions that were active for this request, if any.
193+ */
194+ readonly modeInstructions2 ?: ChatRequestModeInstructions ;
195+
202196 /**
203197 * @hidden
204198 */
205- constructor ( prompt : string , command : string | undefined , references : ChatPromptReference [ ] , participant : string , toolReferences : ChatLanguageModelToolReference [ ] , editedFileEvents : ChatRequestEditedFileEvent [ ] | undefined , id : string | undefined , modelId : string | undefined ) ;
199+ constructor ( prompt : string , command : string | undefined , references : ChatPromptReference [ ] , participant : string , toolReferences : ChatLanguageModelToolReference [ ] , editedFileEvents : ChatRequestEditedFileEvent [ ] | undefined , id : string | undefined , modelId : string | undefined , modeInstructions2 : ChatRequestModeInstructions | undefined ) ;
206200 }
207201
208202 export class ChatResponseTurn2 {
0 commit comments